How to have new record appear every time I open form

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

Guest

How do i make a "new record" appear every time I open a form?

Thanks,

John
 
How do i make a "new record" appear every time I open a form?

Thanks,

John

In that form's Load event, write:

DoCmd.RunCommand acCmdRecordsGoToNew
 
thanks I got a message that i dont have the "docmd" in the macro section -
can I build that macro somehow?

Thanks,

John
 
thanks I got a message that i dont have the "docmd" in the macro section -
can I build that macro somehow?

Thanks,

John

Use code.
On the Form's Load event line write:
[Event Procedure]
Click on the little button with the 3 dots that appears on that line.
When the code window opens the cursor will be flashing between 2
already existing lines of code.
Between those 2 lines write:

DoCmd.RunCommand acCmdRecordsGoToNew

Exit the code window and save the changes.
Open the form and it will open at a new record.
 
Awesome - thanks Much!!

fredg said:
thanks I got a message that i dont have the "docmd" in the macro section -
can I build that macro somehow?

Thanks,

John

Use code.
On the Form's Load event line write:
[Event Procedure]
Click on the little button with the 3 dots that appears on that line.
When the code window opens the cursor will be flashing between 2
already existing lines of code.
Between those 2 lines write:

DoCmd.RunCommand acCmdRecordsGoToNew

Exit the code window and save the changes.
Open the form and it will open at a new record.
 

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