Ok,
I've got a weird one here i can't work out.
I have a main form (MainForm) that contains 2 subforms (subform1 & subform2).
MainForm contains a public sub called FilterSubForm2
The subform1 onCurrent event needs to call FilterSubForm2
I've tried
and various other derivations but keep getting the following error:
If I hit the End button the code actually does what it's supposed to do!
Any ideas what's going wrong?
I've got a weird one here i can't work out.
I have a main form (MainForm) that contains 2 subforms (subform1 & subform2).
MainForm contains a public sub called FilterSubForm2
The subform1 onCurrent event needs to call FilterSubForm2
I've tried
Code:
call me.form.parent.FilterSubForm2
call me.form.MainForm.FilterSubForm2
Code:
runtime error 2455
you entered an expression that has an invalid reference to the property Form/Report
End | Debug
If I hit the End button the code actually does what it's supposed to do!
Any ideas what's going wrong?