Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Header-Line form

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

  • Community Member Profile Picture
    Community Member Microsoft Employee 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

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,445 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
    Community Member Microsoft Employee 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

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,391 Super User 2024 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?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans