G
Guest
I am working on a query that has a created column based on one column with
codes in a lookup list from a table in the database. This new column named
Purpose_of_Travel should come up with travel purpose based on some codes .
Below is an example of what I have been working with:
Purpose_of_Travel: IIf(IsNull(
codes in a lookup list from a table in the database. This new column named
Purpose_of_Travel should come up with travel purpose based on some codes .
Below is an example of what I have been working with:
Purpose_of_Travel: IIf(IsNull(
Code:
)," ",IIf([Code]=0140,"Sick
Travel",IIf([Code]=1452,"Conference Travel",IIf([Code]=1002,"Study Travel","
")))
Problem - the null condition is working quite well, but if I select a
particular code from the drop down list or if I enter a wrong code, I am
getting #Error.
Can someone help please?