Hi, I'm trying to pass a subform as a variable to a pocedure to be able to access this subform's properties (i.e refresh it later on)
If used the syntax described here
but to no effect. I keep getting error 40036 "Method Item of object Forms failed" on the following line of code:
260 Set fForm = Forms!New_frmZamowienia_DaneRzeczywiste!subform_Notes.Form
My main form is named: New_frmZamowienia_DaneRzec
The sub form is named: subform_Notes
The sub form is on a page control tab
Sub and main form are linked through a field.
I'm attaching the whole procedure.