A
andie36
Hi,
I have a table called List and a table called Zips. I want to pull
customers from the List table, and assign them a region based on the
information in the zips table. I have a query set up which pulls the names
from List and the region from the Zips file. This works, but there is a
slight kink in it. Some of the zip codes in the List table are 5 digits,
some are 5 plus the additional-xxxx. The query only assigns the region code
to the 5 digit zip. It isn't assigning it to the 9 digit ones. Is there a
way to say something to the effect of "If the first five digits of
list.zipcode = zips.zipcode region = zips.region."
I have a table called List and a table called Zips. I want to pull
customers from the List table, and assign them a region based on the
information in the zips table. I have a query set up which pulls the names
from List and the region from the Zips file. This works, but there is a
slight kink in it. Some of the zip codes in the List table are 5 digits,
some are 5 plus the additional-xxxx. The query only assigns the region code
to the 5 digit zip. It isn't assigning it to the 9 digit ones. Is there a
way to say something to the effect of "If the first five digits of
list.zipcode = zips.zipcode region = zips.region."