Open form to last record +1

  • Thread starter Thread starter Sok Hong
  • Start date Start date
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.
 
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
 
Back
Top