Subform getting focus

We have a form with a number of search pickers, which are subforms. We would like one of them to get the focus when the page loads, so they can begin typing the customer name without having to click into it?

Have tried execute method on subform and goto object, but to no avail.



Hi Kevin,

If it isn’t working you probably need to run the execute method in subform and goto object in the next execution cycle. Try SET TIMER(-1) and a then call that code in the On Timer form event.


Hi Kevin,

You can try this.

  1. Make the subform container focusable
  2. For the subform enable the On activate event and in the subform form method when the on activate event is triggered just GOTO OBJECT