Hello all....
I have a Form where, when the user changes the value in a specific Field (see 1 in the following picture), the form Query will be changed with X++ according to the value entered in the Field.
I would also like to have the changed Query be displayed in the "Query Dialog Part" of the Form (see 2 in the following picture).
Im able to change the Form Query with X++ but i don't know how to update / refresh the "Query Dialog Part" of the Form (see 2 in the following picture).
Does anybody know how to do this with X++?
Thank you all in advance....
TN
Hello Martin....
Thank you very very much for your answer....
I will try it out....
Thanks....
TN
I guess it's a RunBase dialog.
The standard logic is in RunBaseDialogModify.updateQuery(). Your class inherits dialog and dialogModify variables from RunBase class, therefore you should be able to simply call dialogModify.updateQuery(dialog) when needed.
Hopefully all code looks the same in AX 2009; I'm actually looking into D365FO.
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156