
BEGINER NEEDS HELP PLEASE...
Quote:
>and states. What I need to do, is join the zipcode, city, and state
>fields from the ZIPLIST table into the ROLEDEX table that contains
>those fields. So, when a zip is entered in the ROLEDEX table, the
>city and state will be automaticly filled in (with information from
>the ZIPLIST table).
In the ROLEDEX table, add a Zip code field, then build a query
which joins the two tables on the zip field. You do this in the
query design window by simply dragging the zip field from the
first table and dropping it on the zip field in the other table.
Better yet, do this in the relationships window. Define a
one-to-many between the zip code and ROLEDEX tables. Once done,
the query design window will automagically add the join whenever
both tables are included in a query.
In the form, place the zip field from the ROLEDEX table. When a
zip from the zip code table is entered, Access automagically
looks up the balance of the data from the zip code table and
fills in the controls bound to the zip code table. The zip code
field from the zip code table does not need to be included in the
query.
For a more complete explanation, search help for "autolookup".
Joe
Never underestimate the power of a WAG.
http://www.citilink.com/~jgarrick