parameter promt question

G

Guest

I know how to enter a parameter prompt each time someone enters a query to
prompt them to type in something. i.e. put [Please Enter Name] in the
criteria portion. However, is there a way to prompt them with a list of
choices? i.e. all the Names and they can click on the one they wish to see
information on.
 
G

Guest

Rose,

The only way to accomplish this is to create a form that allows them to pick
them to pick the name, then modify the query so that rather than using the
parameter, it uses a reference to the forms control.

If you had a form (frm_PickNames) with a combo box and a command button.
You would use the combo to select the name, and the command button to run the
query or open a report or something along those lines. The query, in this
case might look like:

SELECT * from yourTable
WHERE [UserID] = Form!frm_PickNames.cbo_PickName

HTH
Dale
 
G

Guest

No.
IMHO, it is never appropriate to subject your users to parameter prompts.
Consider using controls on forms where you have much greater flexibility.
 

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