Focus highlight after GoToRecord

  • Thread starter Thread starter Laurel
  • Start date Start date
L

Laurel

I have a macro which ends in GoToRecord. I find that if I
execute a Requery within the macro, the first field of the
destination record is highlighted. But if I don't, it is
not. The GoToRecord seems to execute successfully in
either case because the pointer in the left border moves.
I don't see anything like "SetFocus" as an action in the
Macro list. How can I get the first field to highlight
without executing Requery first?
 
when a form is requeried, the focus will automatically go
to the first enabled, "tabstop = Yes" control in the tab
order. but when you use GoToRecord, normally the focus
will stay in the same control that had it in the previous
record.

the SetFocus action in a macro is called GoToControl.

hth
 
Back
Top