Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Query - find records less than or greater than input criteria

Status
Not open for further replies.

Bazza66

Technical User
Nov 23, 2006
2
FR
I am trying to filter records in a query that are less than or greater than one input field. For instance I have numbers from -100 to 100 and I want to be able to select all records above 50 or below -50. I can do this using <-50 or >50 but I want to prompt the user to input this value as it may change. When I start using [Input Variance] the calculation <(0-[Input Variance]) OR >[Input Variance] does not work nor does anything else I have tried. I am using a select query. Thanks for any help, Andy.
 
Hi Bazza, try setting your criteria as abs([Myfield]) > [Input Variance]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top