I have my main form (frmORC), a subform within the main form (fsubDatasheet), and a subform within fsubDatasheet (fsubTestShot).
I am getting Error 2455 (You entered an expression that has an invalid reference to the property Form/Report) on the following line of code:
I tried a test to make sure I was referencing subform 2 correctly with the following code and it works:
So I'm not sure what I am doing wrong here.
Any help would be greatly appreciated.
I am getting Error 2455 (You entered an expression that has an invalid reference to the property Form/Report) on the following line of code:
Code:
Me.fsubDatasheet.Form!fsubTestShot.Form.AllowEdits = True
I tried a test to make sure I was referencing subform 2 correctly with the following code and it works:
Code:
MsgBox Me.fsubDatasheet.Form!fsubTestShot.SourceObject
So I'm not sure what I am doing wrong here.
Any help would be greatly appreciated.