web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Linking two tables in Business Central using AL Language

(0) ShareShare
ReportReport
Posted on by 244

Hi Members,

I would like to know a way to link two tables (any two) and display it in a single page. Please do provide me a solution to this, with the help of AL Language in Business Central.

Thanks and Regards,

Saravanan M

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    There are many ways to do that. Depending on exactly what you want to achieve.

    Using list parts and card parts is one option.

    You can read more about the pages types here:

    docs.microsoft.com/.../devenv-page-types-and-layouts

    If you only want to display data and not have them editable you can use the integer table as you datasource and simply use AL code to pick and data you want to display on the page.

    But ListPart or CardPart should normally be your 1st choice.

    And just for the record. You can not link any two tables together. They need to have some kind of relation between them unless you just want to display data from a table with a single record.

  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at

    Hi, you can also use FlowField - Lookup, Query object and so on,

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-flowfields

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-query-object

    Hope this helps as well.

    Thanks.

    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans