Requerying one form from another

J

jonesy

Form 1 opens form 2.
In form 2 I update data underlying form 1.
When I close form 2 the data in form 1 is unchanged
whatever I try to do to requery it eg
[Forms]![form 1].Requery

Even closing form 1 and re-opening it (all from form 2)
does not do the trick

Its driving me crazy
 
A

Arvin Meyer

Assuming that there isn't a locking conflict, try explicitly saving form 2
first.

DoCmd.RunCommand acCmdSaveRecord
[Forms]![form 1].Requery
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access

jonesy said:
Form 1 opens form 2.
In form 2 I update data underlying form 1.
When I close form 2 the data in form 1 is unchanged
whatever I try to do to requery it eg
[Forms]![form 1].Requery

Even closing form 1 and re-opening it (all from form 2)
does not do the trick

Its driving me crazy
 

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


Top