View Full Version : Vat Levels query???????


Cubba27
01-21-2009, 12:01 PM
ok so i've been going over this query for days now, trying to figure out how to get this to work. basically the query needs to measure ingredients currently in vats and then measure the vat levels against the amount of ingredients required to produce a product, if there is enough of the ingredients in the vats the sstem should display "OK", if there isn't the system should display "Refill". below is the expression i've been trying to use. any help would be a great help :)

IIf([Vat level]>"or"=[Total Ingredients Required (ml)],"OK")

pbaldy
01-21-2009, 12:03 PM
If you mean what I think you mean, try

IIf([Vat level]>=[Total Ingredients Required (ml)],"OK")

Cubba27
01-21-2009, 12:07 PM
LOL, thanx very much. its always something sooo... simple

pbaldy
01-21-2009, 12:09 PM
No problemo, and welcome to the site by the way.

Cubba27
01-21-2009, 12:17 PM
TY happy to be here :)