Requery subform question

  • Thread starter Thread starter SHIPP
  • Start date Start date
S

SHIPP

I have two forms (form A and form B) I have a subform on form A.
How would I requery the subform on form A if I am on form B. The following
gives me an error

Forms.formA.formAsubform.Form.Requery
 
SHIPP said:
I have two forms (form A and form B) I have a subform on form A.
How would I requery the subform on form A if I am on form B. The following
gives me an error

Forms.formA.formAsubform.Form.Requery

Try:

Forms!formA!formAsubform.Form.Requery

Use bang (!) to refer to a member of a collection, and dot (.) to refer to
properties or methods of an object. Forms is a collection. formA is a member
of that collection while it's open.
 
Back
Top