ACC2000: Four Ways to Move to a Record from a Combo Box Selection (209537)
The information in this article applies to:
This article was previously published under Q209537 Moderate: Requires basic macro, coding, and interoperability skills.
For a Microsoft Access 2002 version of this article, see 287658.
SUMMARY
This article shows you four methods of moving to a specific record
based on a combo box selection. The methods are as follows:
- In the AfterUpdate property of the combo box, call a macro that uses the FindRecord action.
- In the AfterUpdate property of the combo box, call a macro
using the ApplyFilter action.
- Use a Form/Subform, with the combo box in the main form and the data in the subform, bound by the LinkMasterFields and LinkChildFields properties.
- Base the form on a query that joins two tables, and use the AutoLookup technique to bind the combo box to the field that controls the join.
These four methods are outlined in the "More Information" section and are based on the sample database Northwind.mdb.
REFERENCESFor more information about AutoLookup queries, click Microsoft Access Help on the Help menu, type AutoLookup in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about referencing controls, click Microsoft Access Help on the Help menu, type referencing controls in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about using the control wizard to find a record, click Microsoft Access Help on the Help menu, type Find a record by selecting a value from a list in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about how to use the Filter By Form technique, click Microsoft Access Help on the Help menu, type Filter By Form in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbhowto kbusage KB209537 |
---|
|