Hi John,
Create a grouped query. Then use this query as a source of data in a make
table query (or an append query, if the new table is already present). For
example, in the Northwind sample database (Northwind.mdb), we can create a
unique list of cities for the customers in the Customers table. The steps
listed below are for Access 97 through 2003:
1.) Create a new query. Select Design View. Add the Customers table.
2.) Add the City field to the QBE (Query By Example) grid.
3.) Set an ascending sort, if desired.
4.) Click on the greek sigma button (Totals) in the toolbar. You should see
a new row appear in the QBE grid, "Total:", with "Group By" as the default.
5.) Run the query by clicking on the maroon exclamation button (or click on
Query | Run from the menu). Inspect the results. You should see a listing of
69 unique cities.
6.) Still in query design view, click on Query | Make-Table Query... using
the menu. Give the new table a reasonable name. Run the query once again.
7.) Open your new table in design view. Set a unique index on the City field.
Note: You may want to set this field as a primary key (which is unique), or
you may want to add a new Autonumber field, set as primary key, with the City
field indexed uniquely.
Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
http://www.access.qbuilt.com/html/expert_contributors.html
__________________________________________