parameter query when form closes

G

Guest

I've got a parameter query which gets the criteria from a popup form (a name
and date) then a main form opens up using the query for data. My question
is, once the popup form has accepted the input and passed it to the query,
can you then close the popup and the info will still be in the query/form, or
do you have to leave the popup open as long as you're using the main form??
Thanx for any help...
 
S

Sandy H

I always like to create Globals to store the values particularly if I am
writing the criteria onto a report as well. Then you can just close the
criteria form and not worry about hiding it.

Ie Global strName as string

In the AfterUpdate code (for the field in the popup)
strName = me.textfieldname

Sandy
 

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