Condition query without using IIF?

trebor3900

Registered User.
Local time
Today, 14:44
Joined
Apr 26, 2005
Messages
47
I am trying to force a query to select all fields with a zero value but to carry out a different query if the value is more than zero.

I have tried with IIF statements in the criteria but without success.
ie

IIf ( [tblClothing]![ChestMax] = 0 , [tblClothing]![ChestMax] , [tblOfficers]![ChestSize] Between [tblClothing]![ChestMin] And [tblClothing]![ChestMax] )

As they seem to adversly effect other criteria in the same query
 
Perhaps if you were to post the ENTIRE Sql of your query here, it would be easier to help you.
 

Users who are viewing this thread

Back
Top Bottom