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)

Click button in Form A, open Form B and select a record in data source

(0) ShareShare
ReportReport
Posted on by

Sir I have Two Form, Form A and Form B. Both having the grids with same data source 

When I select a record in grid of Form A  and click the button above to show the relevant record in grid of Form B.

How to do that please help me in this scenario.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: Click button in Form A, open Form B and select a record in data source

    Hi Jamil, you posted your question in a very old discussion that was already marked as answered. Therefore I split your question into a new thread.

    1) Your button in Form A should be a MenuItemButton that runs a display menu item that points to Form B.

    2) Your button on form A should be in a button group that has your data source set in the DataSource property

    3) Now clicking the button opens Form B and should show the same record that you had selected in Form A.

  • Blue Wang Profile Picture
    on at
    RE: Click button in Form A, open Form B and select a record in data source

    Hi Jamil,

    Use a menuItem, then accessing datasets using Args objects. https://docs.microsoft.com/en-us/previous-versions/dynamics/ax-2012/system-classes/gg802600(v=ax.60)

    Refer this thread: https://community.dynamics.com/ax/f/33/t/6874

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

Community Member 4

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans