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 186

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

  • Suggested answer
    YUN ZHU Profile Picture
    85,678 Super User 2025 Season 1 on at
    RE: Linking two tables in Business Central using AL Language

    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

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,029 Moderator on at
    RE: Linking two tables in Business Central using AL Language

    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.

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans