Refer to a text box on a form instead of using a parameter.
Typically you type something like this into the Criteria row in query
design:
[Forms]![MyForm]![MyTextbox]
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"thomas goodwin" <tom_goodwin@unc.edu> wrote in message
news:408001ce_3@news.unc.edu...[color=blue]
> I have a query which asks for a parameter value to execute it.
> To see the results I have to:
> a) click on the query -- the "Enter Parameter Value" window pops up.
> b) enter the parameter value
> c) look at results in datasheet view
>
> If I want to run the query again, I must
> d) click to close the datasheet view
> e) click on the query
> f) enter the parameter value
> g) look at results in datasheet view
>
> Question: Is there a way to cut the number of steps in d) e) f) g) ?
>
> thanks,
> tom g[/color]