T
thatmoodieguy
Hi,
I have a table with an address field that I used a formula to trim down to
retrieve just ZIP codes. I have another table that lists all ZIP codes and
their associated cities. I want to be able to run a query that will convert
all of the zip codes in the first table into city names. Could you tell me
how to do this? I tried the following:
IIF([Expr5]=[ZipCode],[City],"")
as well as:
IIF("[Expr5]"="[ZipCode]","[City]","")
Note: Expr5 is the calculation from the first query that trimmed down
addresses to Zip codes. ZipCode and City are fields from the table that lists
all zips and cities.
If you know what I'm doing wrong please help,
Thanks
I have a table with an address field that I used a formula to trim down to
retrieve just ZIP codes. I have another table that lists all ZIP codes and
their associated cities. I want to be able to run a query that will convert
all of the zip codes in the first table into city names. Could you tell me
how to do this? I tried the following:
IIF([Expr5]=[ZipCode],[City],"")
as well as:
IIF("[Expr5]"="[ZipCode]","[City]","")
Note: Expr5 is the calculation from the first query that trimmed down
addresses to Zip codes. ZipCode and City are fields from the table that lists
all zips and cities.
If you know what I'm doing wrong please help,
Thanks