ACC: How to Update a Table Based on Values in a Second TableID: Q93690
|
Novice: Requires knowledge of the user interface on single-user computers.
To transfer data between two tables, you can create an additional field in
one of the tables to store the common data, and then create an update
query to accomplish the transfer.
This process can be illustrated using the sample database Northwind.mdb
(or NWIND.MDB in Microsoft Access 1.x and 2.0). The following example adds
a ProductName field to the Order Details table, and then copies the
ProductName field from the Products table based on the ProductID field.
NOTE: In versions 1.x and 2.0, there is a space in the Product Name and
Product ID field names.
NOTE: Typically, you would not duplicate the ProductName field because
duplicate data is not good database design.
To transfer data between two tables, follow these steps:
For more information about transferring data between two tables, search for "update queries, joined tables" using the Microsoft Access 97 Help Index.
Additional query words: link join transfer cascade
Keywords : kbusage QryMktbl
Version : 1.0 1.1 2.0 7.0 97
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: March 13, 1999