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

Help.. How to pass a value from child to parent.

(0) ShareShare
ReportReport
Posted on by 350

I made two forms. And I have two questions.

CreateCleanCount(Parent Form = FormA) 

UserQtyForm(Child Form = FormB)

1. When FormB is closed, how can pass from the global variable of FormB to FormA?

[Form B]

real UserQty;

    public void closeOk()
    {
        super();

/*

source code ??

*/

    }

2. When FormB is closed, how can range to datasource of FormA by  variable of FormB?

[Form B]

CleanCountID _CleanCountID;

    public void closeOk()
    {
        super();

/*

source code ??

*/

    }

*This post is locked for comments

I have the same question (0)
  • toayyappa Profile Picture
    115 on at

    Hi Dongwoon,

    Please us the ARG's concept.

    --

    ARK

  • Suggested answer
    JII SAADUDDIN Profile Picture
    1,832 on at

    Hi you can create Query first to create range on every table.

  • Gautam Profile Picture
    3,945 on at

    hi, you can update parent form data source from child form

    Thanks

    Gautam

  • Verified answer
    Nishant2408 Profile Picture
    705 on at

    Hi Dongwoon,

    You can take reference from the below article to pass values between forms.

    www.axaptapedia.com/Passing_values_between_forms

    Regards,

    Nishant Srivastava

  • Suggested answer
    Ammar Abbasi Profile Picture
    55 on at

    Hi,

    You can easily accomplish this using the "Args" class and a menu function.

    To learn more about Args, you may check out this post: dynamics.folio3.com/.../x-tips-and-tricks-passing-parameters-microsoft-dynamics-ax

    To learn more about menu function, go here: community.dynamics.com/.../running-form-using-menu-function-x

    To summarize, your menu function will call your form A with your arguments passed to it.

  • dongwoon Profile Picture
    350 on at

    thank you.

    regards,

    dongwoon,

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

#1
CP04-islander Profile Picture

CP04-islander 16

#2
GiacomoRovai Profile Picture

GiacomoRovai 4

#3
Douglas Noel Profile Picture

Douglas Noel 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans