Access 2000 question

  • Thread starter Thread starter Guest
  • Start date Start date
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!
 
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.
 
Back
Top