I need to write an expression that does this:
If field 1 = WARRANTY and field 2 = 17 then field 3 = WARRANTY GB, If field 1 = WARRANTY and field 2 = 18 then field 3 = WARRANTY N, If field 1 = WARRANTY and field 2 = 19 then field 3 = WARRANTY C, If field 1 = CLAIM and field 2 = 17 then field 3 = CLAIM GB, If field 1 = CLAIM and field 2 = 18 then field 3 = CLAIM N, If field 1 = CLAIM and field 2 = 19 then field 3 = CLAIM C.
Right now I can pull the data for the first set, but I am having a difficult time writing the expression to tell the query to pull the remaining. Is this possible?
EXP: IIf([SALESMAN1]="WARRANTY" And [JOB_TYPE]=17,WARRANTY GB)
Thank you,
Ashley
If field 1 = WARRANTY and field 2 = 17 then field 3 = WARRANTY GB, If field 1 = WARRANTY and field 2 = 18 then field 3 = WARRANTY N, If field 1 = WARRANTY and field 2 = 19 then field 3 = WARRANTY C, If field 1 = CLAIM and field 2 = 17 then field 3 = CLAIM GB, If field 1 = CLAIM and field 2 = 18 then field 3 = CLAIM N, If field 1 = CLAIM and field 2 = 19 then field 3 = CLAIM C.
Right now I can pull the data for the first set, but I am having a difficult time writing the expression to tell the query to pull the remaining. Is this possible?
EXP: IIf([SALESMAN1]="WARRANTY" And [JOB_TYPE]=17,WARRANTY GB)
Thank you,
Ashley