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 :
Microsoft Dynamics AX (Archived)

Header-Line form

(0) ShareShare
ReportReport
Posted on by

Hi. I want to create a form showing 2 grids...one with headers (more than one) and one for the lines related to the selected Header.

For some reasons, and I cannot find the reason why, I see only one Header and the wrong related line.

I do have a relation on the LinesTable to the RecId of the Header. In the form I set the JoinSource Option on the LinesTable to the HeaderTable

What am I doing wrong?

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,545 Super User 2025 Season 2 on at
    RE: Header-Line form

    Hi Chris,

    Which datasources are set on the grid properties. Are these correct?

    Can you probably share step by step or with a screenshot how you created the relation and did the setup of the JoinSource on the form?

  • Community Member Profile Picture
    on at
    RE: Header-Line form

    Hi André

    Well on the LinesTable I have a field Holding the RecId of the Header. This field is set up as Relation:

    relatioproperties.JPG

    The Relation Properties are the following:

    relatioproperties.JPG

    On the Formdatasource for the line I set the JoinDataSource Property to the Header datasource

  • Verified answer
    Martin Dráb Profile Picture
    236,552 Most Valuable Professional on at
    RE: Header-Line form

    Make sure that the child datasource is linked with a Delayed link and that both grids have the right value in their Datasource property.

  • Community Member Profile Picture
    on at
    RE: Header-Line form

    Thx Martin I did not recognize even with double-check the values that I selected the LinesTable in Header Grid

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Community Member Profile Picture

Community Member 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans