I currently have a frm_Initiative form which loads a frm_Jurisdiction form in order to collect information that will subsequently be put into some textboxes on the frm_Initiative form. I want to use the parent object within frm_Jurisdiction because there will be a few different forms calling frm_Jurisdiction, which will all need to receive the same information from it (in textboxes all with the same name). I'm using the following line of code within frm_Jurisdiction to try and reference the parent:
Me.Parent!txtJurisdiction.Value = txtJurisdictionName.Value
...however it is resulting in Runtime error 2452: "The expression you entered has an invalid reference to the Parent property."
I have tried several variations of the above code, all with the same result. Any ideas what the problem might be?
Thanks in advance,
Sam
Me.Parent!txtJurisdiction.Value = txtJurisdictionName.Value
...however it is resulting in Runtime error 2452: "The expression you entered has an invalid reference to the Parent property."
I have tried several variations of the above code, all with the same result. Any ideas what the problem might be?
Thanks in advance,
Sam