Announcements
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.
Thank you guys. I tried in both ways) and both work fine
Hi Azat,
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.
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.
André Arnaud de Cal...
294,217
Super User 2025 Season 1
Martin Dráb
232,978
Most Valuable Professional
nmaenpaa
101,158
Moderator