N
NES
I have a command button in the header area of a form. The command is simply
to go to a new record. And it works. However, I want the result of this
action to change the focus to the first control in the body of the form. I'm
assuming I can do it by following the command VBA code with a
DoCmd.GoToControl. But I don't know where to find the proper format. The
control name in the body of the form is "Patient Name".
I'm hoping someone will help me with that short piece of code. Thanks in
advance for any light you may shed on this.
to go to a new record. And it works. However, I want the result of this
action to change the focus to the first control in the body of the form. I'm
assuming I can do it by following the command VBA code with a
DoCmd.GoToControl. But I don't know where to find the proper format. The
control name in the body of the form is "Patient Name".
I'm hoping someone will help me with that short piece of code. Thanks in
advance for any light you may shed on this.