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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

greater than or less than an equation

Status
Not open for further replies.

lonetree

Technical User
Jan 10, 2001
4
US
I am interested in help in two aspects of the question: Can and how to set up query(s) to find records that satisfy an inequality of an equation? Can SQL or the graphic query interface be used to find records that containing two variables which fall to one side or the other of an equation of a line.

If so can anyone give me hints or help on how such work can be done?
 
You sure can do. I use compound expressions like ...

WHERE Type>=20 AND Type<=29 AND Status=0

in my queries. The easy way is to go to the Access Query Builder (choose your table) drag the fields you want down to the grid &amp; place the inequality expression into the &quot;Criteria&quot; for that field. Like...

>20 AND <29

Notice that in this case the &quot;Type&quot; has been omitted because it's assumed by the query builder.

Anyway... this kind of thing is heavily documented in help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top