Action on return from opening secondary form

  • Thread starter Thread starter timlb
  • Start date Start date
T

timlb

Hi All

Problem:

From form A form B is called with docmd.openform. Form B
processes data and updates records also call a report. I
would like a requery event to be called on return to form
A. Calling form B as a dialog causes a problem actioning
the report. Following actions have NOT worked. Putting
requery in events Form.Current or Form.GetFocus or as a
procedure after the docmd.openform line. Hope this makes
sense and the problem can be resolved.

TIA

TimLB
 
There is two sotlons:

In the clost event of form b (which is model...rigight?), you simply put:

forms!FormA.Requery

You can also put code in formA "activate" event, and that will fire when the
form gets the focus....
 
Back
Top