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)

How to access one control's value in other control's methods. in a form

(0) ShareShare
ReportReport
Posted on by

I  have added two controls in a form. one is a combo box which is containing an enum, while the other is a stringedit control.

Now i need to get the selected value of the combo box in the modified function of stringedit control. Surely i cant access the combo box through this operator as it points to the stringedit control in its modified method.

So how can i get the selected value of the combo box in the modified method of the stringedit control. ???? 

Thanks

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: How to access one control's value in other control's methods. in a form

    got it thank you very much.

    it worked.

  • Verified answer
    Sohaib Cheema Profile Picture
    47,934 User Group Leader on at
    RE: How to access one control's value in other control's methods. in a form

    you can set AutoDeclaeation = yes for comboBox and then anywhere in that form you can get value of combobox. such as you want to get it under modified of stringEdit.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Mea_ Profile Picture

Mea_ 2

#2
Rahul Shah Profile Picture

Rahul Shah 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans