Setting focus on the first field of a form (1 Viewer)

G

godfreydsouza

Guest
I have a form for data entry with a button for new record (a macro "Go to new Record" is attached). I want the focus to be set to the first field when I click the button. Can somebody help me please. thanks
 

Neal

Registered User.
Local time
Today, 14:23
Joined
Feb 17, 2000
Messages
116
On the On Open event of the form you can write this code:

YourControlName.SetFocus
 

Users who are viewing this thread

Top Bottom