Forms asking for input

L

Lana

I have a query that asks for input. It works, but when it put into a form
with a subform it asks for the input value 3 times. What did I do wrong? How
can I make it ask for the input only once?
 
J

John W. Vinson

I have a query that asks for input. It works, but when it put into a form
with a subform it asks for the input value 3 times. What did I do wrong? How
can I make it ask for the input only once?

The simplest way is to not use a [Enter value:] prompt at all. Instead, use a
Form (let's call it frmCrit) with unbound controls (txtCrit let's say), and
use a criterion

=[Forms]![frmCrit]![txtCrit]

as a criterion.

It's handy to put a command button on frmCrit to launch the report, so the
user doesn't need to see the database window at all.
 

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