I am trying to requery a subform in the oncurrent event of another form.
I am using the syntax provided by Mile-O-Phile on this site as follows
Me.Parent![fsubDrawRev].Requery
Forms!frmDrawings!fsubDrawRev.Form!fsubDrawRevsubform.Requery
The first requery works fine but the second one says I have an illegal reference to the form.
I have tried every variation of syntax I can think of but cannot get it to work. The second forn is a subform of the first form and the code is in a different subform.
I am using the syntax provided by Mile-O-Phile on this site as follows
Me.Parent![fsubDrawRev].Requery
Forms!frmDrawings!fsubDrawRev.Form!fsubDrawRevsubform.Requery
The first requery works fine but the second one says I have an illegal reference to the form.
I have tried every variation of syntax I can think of but cannot get it to work. The second forn is a subform of the first form and the code is in a different subform.