allowedits in subform syntax
Posted on 2014-02-13
Dear experts -
I have 2 subforms on a form. In the current event on the one subform I want to control the allowedits on the other.
The following line is giving me the error "method or data member not found"
Forms!Main_Form!sfQuickView2.Form.AllowEdits = IIf(Nz(Forms!Main_Form!txtContact_ID, 0) <> 0, True, False)
sfQuickView2 is the control name of the other subform; the source object of that subform is also changed programmatically elsewhere (which is working fine).