how do you write an expression in Microsoft access that is greater than or = to 5 but less than or = to 10?
katiecatme
2009-09-14 02:59:11 UTC
I would be using the expression builder, i am stuck on this one need a little help please.
Six answers:
smr1lk
2009-09-14 03:28:22 UTC
fieldname>=5 and fieldname<=10
?
2016-12-15 00:11:05 UTC
Ms Access Expression
?
2017-01-17 22:20:46 UTC
x is under or equivalent to eight is x ? 8 x is larger than 5 ia x > 5 combine this mutually 5 < x ? 8 (think of the 5 < x for the period of this as in case you're analyzing from good to left, the < will become better than)
VBACCESSpert
2009-09-14 03:37:55 UTC
Place in your CONTROL SOURCE:
=IIF([fieldno]>=5 And [fieldno]<=10,"OK","NO")
I used the function here, IMMEDIATE IF, so that when the data on fieldno is between 5 and 10, it will say OK.
Good luck!
Makiavel
2009-09-14 09:58:04 UTC
(Considering you're working on a query)
In the criteria line, in the column field you want to analyze, you write ">4" and "<11"
dinu
2009-09-14 03:11:54 UTC
let ur field to be used in condition be rollno for instance." rollno>=5 and <=10.. "
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.