Is there a focus function in NAV

bianconeribianconeri Member Posts: 7
Hi

I want to insert a "setFocus" function in OnNewRecord trigger on the purchaseorder subform.

For example everytime the users create a new line, the cursor should always start in the "No." field.

What is the best way to do this?

Thank you in advance

Comments

  • ppavukppavuk Member Posts: 334
    By default system will place cursor on first field in form. in classic you can activate whatever control you want using Form - OnBeforePutRecord() trigger.

    In RTC - this looks impossible.
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Have a look at this tool in the download section: Focus/activate control support for RTC v1.1
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
Sign In or Register to comment.