GoToControl to a subform

  • Thread starter Thread starter Chris M.
  • Start date Start date
C

Chris M.

I am trying to have a macro move focus from the main form
to a subform using the GoToControl action in a macro.
Access help says the syntax should be:

Forms![mainformname]![subformname].form

I've tried every conceivable combination of syntax and it
continues to give me the error "field not found on current
record"

I do not want to code an event procedure, but only want to
use macros and their associated actions and arguments.

Any help?
 
Use two consecutive GoToControl actions. The first one to set focus on the
subform control (the one that holds the subform). The second to set focus to
a control on that subform.
 

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


Back
Top