Syntax for calling subform proc

gem1204

Registered User.
Local time
Today, 11:32
Joined
Oct 22, 2004
Messages
54
What is the syntax for calling a sub procedure on a subform from that subform’s parent form. I tried both of these and none work.
Forms(Me.Name).Controls("SubChkds").Form.getlast10
Forms("subChkDS").getlast10

The name of the main from is frmChecking (I’m using me.name rather than the form name). The name of the subfrom is SubChkds. The name of the public procedure that I’m trying to call is GetLast10.

Any help would be appreciated
 
Just tested this successfully:

Forms(Me.Name).SubformName.Form.PublicSubName
 

Users who are viewing this thread

Back
Top Bottom