G
Guest
I do not know SQL but I am familar with Access. I need to build an expression
using dlookup for the situation below.
I have two tables, table I contain addresses complete with five (5) digit zip
codes.
Table II contain three fields of data, zip code beginning range and
zip code ending range and a state code for the corresponding zip beginning
and zip ending range.
I’m tying to create a query in Access that will look up the zip
codes from table I and assign the corresponding state designation from table
II.
I have tried using d look but I've had no luck.
Also, my tables have no relationship to each other ( no link or primary
key), would this prevent me from creating a query?
Below are examples of the two tables that I have
Table I
Zip Code
45455
22618
93725
Table I I
Zip I Zip II State
40000 46000 TN
90000 95000 CA
22000 25000 NY
The query results that I would like should appear as the following:
45455 TN
93725 CA
22618 NY
using dlookup for the situation below.
I have two tables, table I contain addresses complete with five (5) digit zip
codes.
Table II contain three fields of data, zip code beginning range and
zip code ending range and a state code for the corresponding zip beginning
and zip ending range.
I’m tying to create a query in Access that will look up the zip
codes from table I and assign the corresponding state designation from table
II.
I have tried using d look but I've had no luck.
Also, my tables have no relationship to each other ( no link or primary
key), would this prevent me from creating a query?
Below are examples of the two tables that I have
Table I
Zip Code
45455
22618
93725
Table I I
Zip I Zip II State
40000 46000 TN
90000 95000 CA
22000 25000 NY
The query results that I would like should appear as the following:
45455 TN
93725 CA
22618 NY