Jumping to new record

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

Guest

Hi

I have a form (subform) within another form (main form). My main form is
linked with records in a table. I want to let the records move to the next
record each time I press a button on the subform using the command:

DoCmd.RunCommand acCmdRecordsGoToNew

This command seems to work when I use it in the main form for the records in
the main form, but it doesn't seem to influence the records linked to the
main form when this function is inserted into the subform. How do I correct
this?

Thanks!
 
Rudi,

Try it like this...
DoCmd.GoToRecord acDataForm, Me.Parent.Name, acNext
 

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