Form/Subform Command Buttons

M

Macha

I don't program in VB.
I'm using cmd buttons in my main form and subform both for previous record
and next record. The main form buttons work fine until after I get a "You
can't go to the specified record" message for the subform buttons. Then the
main form buttons work just like the subform buttons, changing the record in
the subform instead of the main form.
In the code, the line "DoCmd.GoToRecord , , acNext" is the same for both the
main and subform buttons. Is that the confusion?
 

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