G
Guest
Hello,
I'm trying to figure out a way to populate an address table with the linking
ID of a region table. Here are the specifics:
tblLeads contains address information with a ZIP (ZIP Code) field and a
field for RegionID
tblRegions contains the fields of:
- StartZIP - start of the Left(ZIP,3) range.
- EndZIP - end of the Left(ZIP,3) range.
- RegionID - a unique ID assigned to each region
What I'm looking for is an update query for tblLeads that looks up the
RegionID value from Left([tblLeads].[ZIP],3) between StartZIP and EndZIP.
My goal is to then relate my tblLeads table back to the tblRegions table so
leads can be distributed to the appropriate people. Any suggestions?
Thanks -- dbqph
I'm trying to figure out a way to populate an address table with the linking
ID of a region table. Here are the specifics:
tblLeads contains address information with a ZIP (ZIP Code) field and a
field for RegionID
tblRegions contains the fields of:
- StartZIP - start of the Left(ZIP,3) range.
- EndZIP - end of the Left(ZIP,3) range.
- RegionID - a unique ID assigned to each region
What I'm looking for is an update query for tblLeads that looks up the
RegionID value from Left([tblLeads].[ZIP],3) between StartZIP and EndZIP.
My goal is to then relate my tblLeads table back to the tblRegions table so
leads can be distributed to the appropriate people. Any suggestions?
Thanks -- dbqph