B
_Bigred
(Access 2000)
I am trying to use the following expression on a form for a unbound box.
Unfortunately when I try to close the expression builder, it gives the error
message that my expression is too complex.
=IIf([Class Title]="ANIMAL HEALTH
INSPECTOR-ENTRY",([Under13]+5.7),IIf([Class Title]="ANIMAL HEALTH
INSPECTOR-OBJ",([Under13]+4.50),IIf([Class Title]="ANIMAL HEALTH
CONSULTANT",([Under13]+1.60,iif([Class Title]="FOOD SAFETY CONSULTANT"
,([Under13]+1.60,iif([Class Title]="MEAT SAFETY CONSULTANT"
,([Under13]+1.60,iif([Class Title]="FOOD SAFETY INSPECTOR-ENTRY"
,([Under13]+1.50, iif([Class Title]="FOOD SAFETY INSPECTOR-OBJ"
,([Under13]+1.55, iif([Class Title]="MEAT SAFETY INSPECTOR-ENTRY"
,([Under13]+1.50, iif([Class Title]="MEAT SAFETY INSPECTOR-OBJ"
,([Under13]+1.55, iif([Class Title]="MULTIPLE PRODUCTS GRADER-ENTRY"
,([Under13]+1.50, iif([Class Title]="MULTIPLE PRODUCTS GRADER-OBJ"
,([Under13]+1.55, iif([Class Title]="WEIGHTS&MEASURES INSP-DEV"
,([Under13]+1.50, iif([Class Title]="WEIGHTS&MEASURES INSP-OBJ"
,([Under13]+1.55, iif([Class Title]="WEIGHTS&MEASURES TECH SPEC"
,([Under13]+1.60))))))))))))))
How do I get around this so my formula (expression) works properly????
TIA,
_Bigred
I am trying to use the following expression on a form for a unbound box.
Unfortunately when I try to close the expression builder, it gives the error
message that my expression is too complex.
=IIf([Class Title]="ANIMAL HEALTH
INSPECTOR-ENTRY",([Under13]+5.7),IIf([Class Title]="ANIMAL HEALTH
INSPECTOR-OBJ",([Under13]+4.50),IIf([Class Title]="ANIMAL HEALTH
CONSULTANT",([Under13]+1.60,iif([Class Title]="FOOD SAFETY CONSULTANT"
,([Under13]+1.60,iif([Class Title]="MEAT SAFETY CONSULTANT"
,([Under13]+1.60,iif([Class Title]="FOOD SAFETY INSPECTOR-ENTRY"
,([Under13]+1.50, iif([Class Title]="FOOD SAFETY INSPECTOR-OBJ"
,([Under13]+1.55, iif([Class Title]="MEAT SAFETY INSPECTOR-ENTRY"
,([Under13]+1.50, iif([Class Title]="MEAT SAFETY INSPECTOR-OBJ"
,([Under13]+1.55, iif([Class Title]="MULTIPLE PRODUCTS GRADER-ENTRY"
,([Under13]+1.50, iif([Class Title]="MULTIPLE PRODUCTS GRADER-OBJ"
,([Under13]+1.55, iif([Class Title]="WEIGHTS&MEASURES INSP-DEV"
,([Under13]+1.50, iif([Class Title]="WEIGHTS&MEASURES INSP-OBJ"
,([Under13]+1.55, iif([Class Title]="WEIGHTS&MEASURES TECH SPEC"
,([Under13]+1.60))))))))))))))
How do I get around this so my formula (expression) works properly????
TIA,
_Bigred