Hi,
In a list form, I have a textbox with a another textbox defined in the property "NextControl". My problem is that I would like this to be dynamic. Say if a purchase line is of type "G/L account" then the NextControl is A and if the type is "item" the next control is B.
Is it possible to do so? Via som c-a/l code?
/MHQ
0
Comments
You can try to use Currform."The field".ACTIVATE in the OnDeactivate-trigger of the field that you are leaving, but I have some doubts.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Thanks for feedback.
My example is not great. The thing is that after entering a number in a purhase line I would like it to go to the number field in a new line.
If I set the property "nextcontrol" to the same controlID, then it does so, just as a I wished. The problem is that this has to be conditional. If <some condition> then jump to new line, else do as always.
I do not know if there are other better ways to solve this issue.
Any ideas?
/MHQ
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.