go to new record

  • Thread starter Thread starter help
  • Start date Start date
H

help

I have a pop up box that allows the user to search the
last name if it is in the database. If no; user is
returned back to the main form, if yes: I want to add a
new record. If the form is not currently at the last
record, this code doesn't work:
DoCmd.GoToRecord , , acNewRec

any ideas! Thanks!
 
I have a pop up box that allows the user to search the
last name if it is in the database. If no; user is
returned back to the main form, if yes: I want to add a
new record. If the form is not currently at the last
record, this code doesn't work:
DoCmd.GoToRecord , , acNewRec

any ideas! Thanks!

Hmm, that should work. However, here is a different way...

DoCmd.RunCommand acCmdRecordsGoToNew


- Jim
 
Back
Top