Access 2000 question

G

Guest

This is an Access 2000 question. I'm calling a macro from within a
subform on another form, and asking it to do something with that
subform. The manual says that if a macro affects a form, that form has
to be open. No problem--the button is on the form that I'm affecting,
so it has to be open.

However, I get an error which says that my form *isn't* open, and I
can't figure out why:

"The macro you are running (directly or indirectly) contains a
GoToRecord, Repaint Object, or SelectedObject action, but the Object
Name argument names an object that is closed. The object name
argument for the GoToRecord, Repain Object, or SelectObject method
names an Object that is closed. Use of the Open Action method to open
the object so that you can carry out the desired action."

Any suggestions how to fix this? Thanks so much!
 
S

Steve Schapel

Lemonysnicket,

See my reply in microsoft.public.access newsgroup.

Just a hint for the future... If you really feel it is important for
your post to appear in more than one newsgroup (in practice this is
seldom necessary), please cross-post (i.e. address the same message
simultaneously to both groups), rather than multi-post (i.e. send a
separate copy of the message to each group). Thanks.
 

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