[AccessD] Forgotten syntax

Gustav Brock Gustav at cactus.dk
Wed Sep 9 09:55:15 CDT 2009


Hi Arthur

No one seems to chime in, so off the head:

  Call Me.Parent.GetResults_LC1_Check

and the function must be Public.

/gustav


>>> fuller.artful at gmail.com 09-09-2009 16:30 >>>
I have a form containing a subform, from which I want to call a procedure
that lives in the parent form. The syntax I am using is:
<vba>
Call Me.Parent.Form.GetResults_LC1_Check
</vba>

The procedure is also called directly on the parent form, where it works
fine, but when called from the subform it errors out (Application-defined or
object-defined error in procedure ...)

I recall once seeing a document describing all the various syntax references
to Access objects. Anyone know where that lives?

TIA,
Arthur





More information about the AccessD mailing list