Criteria problem

evanhughes

Registered User.
Local time
Today, 00:19
Joined
Nov 26, 2009
Messages
46
How do I change the following criteria.
Charge: IIf([UnitCode]="P005",25,55)

I need to apply this criteria only if it is not equal to
[field5] is not equal to "can" and if it is equal to can then value will be 0.

Can't get my head around it.

Evan
 
How do I change the following criteria.
Charge: IIf([UnitCode]="P005",25,55)

I need to apply this criteria only if it is not equal to
[field5] is not equal to "can" and if it is equal to can then value will be 0.

Can't get my head around it.

Evan


And I can't get my head round this sentence

I need to apply this criteria only if it is not equal to
[field5] is not equal to "can" and if it is equal to can then value will be 0.


Please rewrite .

Brian


I suspect that you are after something like

Charge: IIf([field5]="can",0,IIf([UnitCode]="P005",25,55))
 

Users who are viewing this thread

Back
Top Bottom