I am trying to create a zip code lookup for our database, to help place people in the appropriate town or county.
Currently, I am creating the If statements one by one, for example - IIf([Zip_Code]="97211","Portland","")
How can I create an If statement that allows multiple zip codes to return the result "Portland". For example, I would like my If statement to include the Zip code 97211, 97227, 97221 and return the result "Portland."
Currently, I am creating the If statements one by one, for example - IIf([Zip_Code]="97211","Portland","")
How can I create an If statement that allows multiple zip codes to return the result "Portland". For example, I would like my If statement to include the Zip code 97211, 97227, 97221 and return the result "Portland."