I have a main form that has a tabbed control on it. The tab control has a Feature tab that loads a generic feature form AND a subform specific to the particular feature type.
MAIN FORM frmParkWithTab
SUBFORM frmFeatureWithSubform
SUB-SUBFORM frmFeatureSubform
I use a table that contains 2 columns, the feature type and the form name, so that based on a particular feature type I can load the appropriate sub-sub form. Unfortunately I cannot for the life of me deliver the proper syntax to refer to the sourceobject of the sub-sub form. The plan was something like:
If( Me.featuretype <> "") Then
Forms!frmParkWithTab.frmFeatureWithSubform.frmFeatureSubform.SourceObject = strFormName
Where the strFormName is loaded from a lookup on the feature type table.
That part works just fine. What does NOT work is my incorrect syntax that gets me errors 458, 2101, and 2465 depending on how badly off I am in my guessing. Suggestions humbly apprecated.
Lisa
MAIN FORM frmParkWithTab
SUBFORM frmFeatureWithSubform
SUB-SUBFORM frmFeatureSubform
I use a table that contains 2 columns, the feature type and the form name, so that based on a particular feature type I can load the appropriate sub-sub form. Unfortunately I cannot for the life of me deliver the proper syntax to refer to the sourceobject of the sub-sub form. The plan was something like:
If( Me.featuretype <> "") Then
Forms!frmParkWithTab.frmFeatureWithSubform.frmFeatureSubform.SourceObject = strFormName
Where the strFormName is loaded from a lookup on the feature type table.
That part works just fine. What does NOT work is my incorrect syntax that gets me errors 458, 2101, and 2465 depending on how badly off I am in my guessing. Suggestions humbly apprecated.
Lisa