GoToRecord on a subform

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?
 
K

Ken Snell

You first need to set the focus to the subform and then run the
DoCmd.GoToRecord action.
 
Top