Popup Form

T

Tee See

I would like to use a small popup form to enter data into a table. The popup
form activates from a command button on a much larger form which is based on
queries. The data which I am inputing pertains to a unique item code which
appears on the larger form.
1) How do I have that item code appear on the popup form when it opens and
2) How do I get the main form to refrexsh with the new data just entered
after I close the popup form and return to the main form.

As always suggestions greatly appreciated.
 
L

Larry Linson

Tee See said:
I would like to use a small popup form to enter data into a table. The
popup form activates from a command button on a much larger form which is
based on queries. The data which I am inputing pertains to a unique item
code which appears on the larger form.
1) How do I have that item code appear on the popup form when it opens and
2) How do I get the main form to refrexsh with the new data just entered
after I close the popup form and return to the main form.

Pass the information in the OpenArgs argument of the DoCmd.OpenForm
statement in the Command Button's Click Event.
 

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