Copy a form and go to the copy

G

Guest

Hello,
I have a button on my form that copies the record, pastes it at the end, and
then goes to the copy. It's in Access 97. Here's my code:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70
DoCmd.GoToRecord.acLastRecord
The problem is on my Access XP, machine, I get an error when I hit the
GoToRecord command. GoToRecord wants a bunch of parameters and I can't
figure out the new formatting. Any help would be appreciated.
Thanks!
Melinda
 

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

Similar Threads


Top