Notifications
Announcements
No record found.
Hello,
I'm trying to set up propertie ReplaceONLookup of the string control to NO via code in RunBaseBatch Class in method dialog. I Tried something like this
dfUserGroup. dfUserGroup.control().
And no property ReplaceONLookup is shown. How can I set this property via code?
Thanks.
Hi Azat,
AX2009 is a long time ago for me. If you build the dialog with a method, you are quite limited in the options. You can also create a form object for the dialog. Then it might be possible.
Have you tried accessing the control using a FormStringControl variable? I am not sure if it is possible in AX 2009 though.
FormStringControl control; dfUserGroup. control = dfUserGroup.control();
You can try setting the properties using the control variable.
Thank you guys. I tried in both ways) and both work fine
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 544 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
Sohaib Cheema 250 User Group Leader