web
You’re offline. This is a read only version of the page.
close
Skip to main content
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 242

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,045 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.

  • Suggested answer
    YUN ZHU Profile Picture
    92,886 Super User 2025 Season 2 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

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,255

#2
Sumit Singh Profile Picture

Sumit Singh 2,665

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,401

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans