How to refresh FormA subform ?

cheer

Registered User.
Local time
Tomorrow, 00:58
Joined
Oct 30, 2009
Messages
222
How to refresh FormA's subform data when the FormB unload events is fired ? My current code in FormB is below

Form B
Private Sub Form_Unload(Cancel As Integer)
Forms!frmA!SubFormA.Requery=> Error: Method 'Items' of object Forms 'failed'
End Sub
 
Check this link for the correct syntax for referring to subforms and thier properties.

Try;
Code:
Forms!frmA!SubFormA.Form.Requery
 
Check this link for the correct syntax for referring to subforms and thier properties.

Try;
Code:
Forms!frmA!SubFormA.Form.Requery

same error as above
 

Users who are viewing this thread

Back
Top Bottom