Requery a form

A

Antonio

I have two forms (frmEmployee and frmInstructions) and I
would like to insert DoCmd.Requery "" into the "On Close"
event of the frmInstructions and in one of the forms and
have it requery frmEmployee when the user clicks the
close button on the upper left hand corner of the window.
Is this possible? Can you specify another form vice a
control on the current form in the DoCmnd code?
Tia
 
V

Van T. Dinh

Try

Forms!frmEmployee.Requery

In the Close or Unload Event Procedure of the Form frmInstruction.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Subform Requery Criteria 1
Requery an open form 2
How do I clear a form? 0
Requery unbound textbox 1
Requery Form 1
Requery Combo boxes 5
Requery ONLY works in timer 0.5 sec later !!! 0
Requery subform 2

Top