Focus for new record

moose

c'mon Chelsea
Local time
Today, 19:05
Joined
May 18, 2001
Messages
139
i have attached a .mdb because i have a feeling i am not going to explain my problem very well.
When the form opens, i want a new record to be the focus and not the 1st record in the table.
Any ideas please?
 

Attachments

:p Hello moose!

On Form_Open event put this code.

DoCmd.GoToRecord acDataForm, "formName", acNewRec
 
I tried your solution by changing "FormName" to the name of my subform and main form (not at the same time) but neither worked.
Should the code go in the onopen event of the main form?
 
I have done that but the focus is still on the 1st record
 

Users who are viewing this thread

Back
Top Bottom