New Record

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

Guest

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...
 
After setting the focus to the field in the main form, run the code to start
a new record

DoCmd.GoToRecord , , acNewRec
 
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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top