Excluding Records Conditionally
Posted: Fri Feb 28, 2003 10:47 am
Within the IIF function, how do I specify to skip a record if it doesn^t fulfill the condition?____Let^s say I^m looking at records with a quantity field (Q). I only want to view those records with a quantity of less than 100.____I^ve tried writing (unsuccessfully) these ways:____IIF(Q<100,Q,blank) -doesn^t recognize "blank"__IIF(Q<100,Q) -no operator__IIF(Q<100,Q,) -no operator__IIF (Q<100,Q,0) -puts zero, doesn^t skip the record__IIF(Q<100,blanknum()) -puts a blank, doesn^t skip the record____And, while I^m asking, I^d like to know the syntax (if different) for skipping records based on character and date conditions.