GoToRecord on a subform

  • Thread starter Thread starter Peter K
  • Start date Start date
P

Peter K

Example:
DoCmd.GoToRecord acDataForm, "Employees", acGoTo, 7

How do I refer to a subform object in GoToRecord method. What should
"Employees" read?
 
You first need to set the focus to the subform and then run the
DoCmd.GoToRecord action.
 
Back
Top