I am trying to use criteria to create a conditional expression in an Access Query.
IIf([STHD DIP]=”Skokomish”, Round([Redds]*0.7175*2,0), IIf([STHD DIP]=”West Hood Canal”, Round([Redds]*0.7175*2,0), Round([Redds]*0.81*2,0)))
I have a nested IIf expression to evaluate a field where two values would be calculated differently than the rest. However, the syntax is wrong. The error is coming up on the value, "West Hood Canal". Any help on this would be greatly appreciated.
IIf([STHD DIP]=”Skokomish”, Round([Redds]*0.7175*2,0), IIf([STHD DIP]=”West Hood Canal”, Round([Redds]*0.7175*2,0), Round([Redds]*0.81*2,0)))
I have a nested IIf expression to evaluate a field where two values would be calculated differently than the rest. However, the syntax is wrong. The error is coming up on the value, "West Hood Canal". Any help on this would be greatly appreciated.