Jump field and SubForm.

Flaffer
Flaffer Member Posts: 11
Hi,

Is it possible from code C/AL to jump from one field to another on a form, specific users don't necceseraly need to key in specific information, but the fields should still be open for input.

Can i also execute C/AL code on the invoice screen, to bring the focus to the subform.

This should be used to automate the key in process on invoice of specific users.

Regards,
Flaffer

Comments

  • MBerger
    MBerger Member Posts: 413
    You can set the tabbingorder of controls using the "NextControl" property.
  • garak
    garak Member Posts: 3,263
    Do you make it right, it works too!
  • Flaffer
    Flaffer Member Posts: 11
    Hi MBerger

    It seems that it is not possible to set the NextControl at runtime, so i used the link from garak, it would have been nice if nextcontrol had worked.

    My solution was :
    CurrForm."Salesperson Code".ACTIVATE;

    Thanks.