Open Form to Specific Field

depawl

Registered User.
Local time
Today, 15:45
Joined
May 19, 2007
Messages
144
How do I get a form to open with the cursor located in a specific field? For example, if I have a field named "Customer_Name" which is in the middle of the form, I would like to have the cursor located there when I open the form.
Thanks
 
A couple of ways to do this:

1. Set the tab order so that the specific field is the first

2. In the On Load event of the form, put Me.Customer_Name.SetFocus
 

Users who are viewing this thread

Back
Top Bottom