Article ID: 291553 - Last Review: August 11, 2004 - Revision: 4.0 Example of row fix-up in the Northwind orders form in Access 2002This article was previously published under Q291553 Novice: Requires knowledge of the user interface on single-user computers.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
For a Microsoft Access 97 version of this article, see 95643
(http://support.microsoft.com/kb/95643/
)
.
For a Microsoft Access 2000 version of this article, see 209672
(http://support.microsoft.com/kb/209672/EN-US/
)
.
On This PageSUMMARY
Microsoft Access provides an automatic "row fix-up" feature that uses
links between tables to update (fix up) records in queries and forms.
You can use this feature to enter a single value, and then Microsoft Access
automatically looks up and displays other values for that record. Row fix-up enables you to update forms and queries without using macros or code. This article uses the Orders form in the sample database Northwind.mdb or the sample Microsoft Access project NorthwindCS.adp to demonstrate how to set up and use row fix-up. NOTE: The row fix-up technique is referred to as AutoLookup in Microsoft Access. MORE INFORMATION
To see an example of the row fix-up technique, follow these steps:
After the combo box updates the CustomerID field in the Orders table (the many-side table), the field is changed so that it no longer points to the same record in the Customers table (the one-side table). (See point 6.) Note that the Orders table is updated because the query's recordset was changed. Microsoft Access recognizes that the relationship no longer matches; therefore, it automatically updates the relationship by linking the changed record in the Orders table with the appropriate record in the Customers table. All the fields in the Orders form that come from the Customers table (the one-side table) are updated to show the values in the record for the newly formed link. ExampleWhen you make a change to the Bill To combo box, Microsoft Access uses row fix-up to update the following fields on the Orders form:
REFERENCESFor more information about row fix-up, click Microsoft Access Help on the Help menu, type about autolookup queries that automatically fill in data in the Office Assistant or the Answer Wizard, and then click Search to view the topic. For more information about updatable queries, click Microsoft Access Help on the Help menu, type when can I update data from a query in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
| Article Translations
|
Back to the top
