Queries

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to create a query that has a simple criteria expression (i.e. > 5
or >10). However, I want the number that the field should be less than (the 5
or the 10) to be imputed by the user. Is there any way for me to run a query
that prompts a message box and imputs the users response as the number in the
criteria. Thanks
 
I am trying to create a query that has a simple criteria expression (i.e. > 5
or >10). However, I want the number that the field should be less than (the 5
or the 10) to be imputed by the user. Is there any way for me to run a query
that prompts a message box and imputs the users response as the number in the
criteria. Thanks

Sure. It's called a "Parameter Query".

Use
[Enter lower limit:]

on the criteria line. The user will be prompted with whatever text you
put in the brackets; whatever they type in response will be used as
the query criterion.

John W. Vinson[MVP]
 

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

Back
Top