Insertion Point

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form page configured to open at a new record when selected. I would
like the insetion point to automatically select a specific field when this
form is opend. How do I do this?
 
In the form's On Current event, place the code: Me.YourControlName.SetFocus
(where YourControlName is the actual name of the control where you want the
cursor to appear). See help for more information on how to use Event
Procedures.
 
Thanks BruceM for your help. I already had a macro created that allows me,
with the use of a command button, to arrive at this form from another form.
Your suggestion focused me and I went to this macro in Design View and simply
chose another action 'GoToControl' and then entered the control name. Works!
 
If you set your field as the first field in the tab list, the cursor will go
to that field when the form opens. You don't need any code this way!
 
Back
Top