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 168

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
    78,669 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
    999 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans