Open form to last record +1

S

Sok Hong

I am currently trying to get the form to open up to a
blank page (1 page after the last record) when the form is
initially opened. I've tried the following code,

DoCmd.GoToRecord , , acLast

However, that only puts me at the last record of the
existing record. I want to go one page after that, any
clues? Thanks.
 
F

Fredg

Since there isn't any record after the 'last' one,
I suspect you mean open the form to a New Record.

In the Form's Load event:
Either

DoCmd.GoToRecord , , acNewRec
or ..
DoCmd.RunCommand acCmdRecordsGoToNew
 

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

Top