Re: BETWEEN . . . AND Operator



John, create a table where you can enter the value and matching text.

This is much easier to maintain. You can tweak the values or add ranges just by updating the table, and everywhere in the software behaves consistently.

Tom Ellision explains how to set up such a table here:
http://allenbrowne.com/ser-58.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"John Drake" <JohnDrake@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4CEC0B00-326B-44E1-97C9-3CDD392148CF@xxxxxxxxxxxxxxxx

I have a text box in a form and in the CONTROL SOURCE of this text box I
want to use and IFF fuction that evaluates a number.

If the number is between 200 and 250, then it must print "FINE", if not it
should print "CRITICAL".
How will it work if I have more than 5 such BETWEEN ... AND statements for
the same field.

The field name in which this number is located is called Results.

.



Relevant Pages

  • Re: My Daughters Letter
    ... You still matching donations John? ... JohnH has made an offer that does allow anyone contributing up to $100 to double their contribution. ...
    (rec.boats)
  • Re: Inserting page numbers
    ... No, sorry, we're not allowed to tweak the ears of naughty persons any ... Except that John, ... C25B7DB3.295EE%REMOVETHISoffice@xxxxxxxxxxxxxxxxxxxxxxxxx, "Clive Huggan" ...
    (microsoft.public.mac.office.word)
  • Re: Two-dimensional Named Ranges
    ... can be a productivity boost. ... > I've learnt a good deal about naming ranges this morning! ... >> John, ... >>> the same thing, but with Labels rather than named ranges, it seems to ...
    (microsoft.public.excel.programming)
  • Re: Count Question
    ... John, a formula like this one will give you the count you're looking for: ... Substitute your ranges for the ranges above. ... Column A lists a ...
    (microsoft.public.excel)
  • Re: My Daughters Letter
    ... 2009 Richmond Race for the Cure ... You still matching donations John? ...
    (rec.boats)