Requery

  • Thread starter destinman via AccessMonster.com
  • Start date
D

destinman via AccessMonster.com

I can click a command button on Form1 to take me to Form2. I add new data on
Form 2 and click a command button to go back to Form1. How do I get a
specific field on Form1 to be updated from what was entered previously on
Form2 ? I simply can not get Form1 to be requeried. I am doing something
basically wrong. Please Help !!
 
J

John

In the on click event of your button on Form2, you could put the following:


Forms![Form1]![ControlName].Requery


Of course, replace ControlName with the name of the control that you
want to requery. Also, this will only work if Form1 is already open, but
I'm assuming that's the case since if the button actually re-opened the
form, the control would automatically requery.
 

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

Top