New Record

A

Ann

Hi,

I am going from Page 3 on a tab control back to the main form by using:

Forms![frmEmployee].[strEmployeeNumber].SetFocus

This works fine but I want it to be a new record and not the current record.
How can I do that? Thanks for the help...
 
O

Ofer Cohen

After setting the focus to the field in the main form, run the code to start
a new record

DoCmd.GoToRecord , , acNewRec
 
A

Ann

Thanks, it did exactly what I wanted.

Ofer Cohen said:
After setting the focus to the field in the main form, run the code to start
a new record

DoCmd.GoToRecord , , acNewRec

--
Good Luck
BS"D


Ann said:
Hi,

I am going from Page 3 on a tab control back to the main form by using:

Forms![frmEmployee].[strEmployeeNumber].SetFocus

This works fine but I want it to be a new record and not the current record.
How can I do that? Thanks for the help...
 
Top