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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Linking two tables on a new page

(1) ShareShare
ReportReport
Posted on by 9

Hi There

 

I am very new to BC365 and looking for a bit of help, I have created a
new page with a source table of Contacts. I have added specific fields
from the Contacts table but I need the “No.” field from the Customer
table.

 

Below is what I have so far, when I edit the page I do get a
drop-down on that field that has all the Customer “No.” values but I
need it to auto-populate and link with the CT “No.” field from the
Contact table.

 
 
 
page 90200 "Sales-i Contact"
{
    ApplicationArea = All;
    Caption = 'Sales-i Contact';
    PageType = List;
    SourceTable = Contact;

    layout
    {
        area(Content)
        {
            repeater(General)
            {
                Caption = 'General';
                field("No Contact Business Relation"; Rec."No. of Business Relations")
                {
                }

                field("Company No"; CustomerNo."No.")
                {
                    TableRelation = Customer."No.";
                }

                field("No."; Rec."No.")
                {
                }

                field("First Name"; Rec."First Name")
                {
                }
                field("Middle Name"; Rec."Middle Name")
                {
                }
                field(Surname; Rec.Surname)
                {
                }
                field(Name; Rec.Name)
                {
                }
                field("Job Title"; Rec."Job Title")
                {
                }
                field("Phone No."; Rec."Phone No.")
                {
                }
                field("Fax No."; Rec."Fax No.")
                {
                }
                field("Mobile Phone No."; Rec."Mobile Phone No.")
                {
                }
                field("E-Mail"; Rec."E-Mail")
                {
                }
                field(Address; Rec.Address)
                {
                }
                field("Address 2"; Rec."Address 2")
                {
                }
                field(City; Rec.City)
                {
                }
                field(County; Rec.County)
                {
                }
                field("Post Code"; Rec."Post Code")
                {
                }
                field("Country/Region Code"; Rec."Country/Region Code")
                {
                }
            }
        }
    }
    var
        CustomerNo: Record Customer;

}
 

As I said I am very new to this and any help would be appreciated.

 

Thanks

Sean

I have the same question (0)
  • Verified answer
    Mustafa Omerbegović Profile Picture
    1,477 Moderator on at
    Hello Sean,
     
    I believe that you will need to use FieldClass = FlowField
     
    That is the way to show data from different table in the desired field on another table.
    On the following link you can find more information about flow fields.
     
     
    Greetings
  • Matteo Fiocco Profile Picture
    260 on at
    Yes, as the colleague says, the correct way is to use a calculated field (flowfield)
  • Gerardo Rentería García Profile Picture
    25,555 Most Valuable Professional on at
  • Suggested answer
    YUN ZHU Profile Picture
    99,086 Super User 2026 Season 1 on at
    Hi, I hope the following information can give you some help.
     
     
    Thanks.
    ZHU
  • SM-29071316-0 Profile Picture
    9 on at
     
    Thank you for your reply, that has helped and is now working, I cant mark your answer as the answer when i try the page just freezes. I have tried on multiple browsers.
     
    Thanks for your help
  • Mustafa Omerbegović Profile Picture
    1,477 Moderator on at
    You're welcome Sean, it's fine.
    I am glad I could help and I wish you a lot of luck and patience.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,005 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,148 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans