Requery

B

Bill

What's the syntax whereby I can issue a Requery
of the Recordsource of a form from within another
form?

I would be referencing that form in the forms collection,
i.e., forms("frmMyOtherForm").

Bill
 
N

Naeem Azizian

you are almost there:
forms("frmmyotherofrm").requery

if it's a subform then you have to refer to the subform by:
forms("frmMyotherForm").Form.frmMyotherformSubform.requery

you can not requery a subform directly when it's open by its parent.
 
Top