ACC1x: Company Pick List in Suppliers Form Doesn't FilterLast reviewed: May 28, 1997Article ID: Q109406 |
The information in this article applies to:
SYMPTOMSWhen you choose one of the alphabet filter buttons in the Suppliers form in the sample database NWIND.MDB, the suppliers in the underlying records are filtered correctly. However, the list of suppliers in the Select Company To Find box is not filtered, and still displays all the suppliers.
CAUSEThe alphabet filter buttons are not meant to filter the entries in the Select Company To Find combo box when the underlying record set is filtered.
RESOLUTIONThe following steps describe how to modify the Suppliers form so that the alphabet filter buttons will filter the list in the Select Company To Find combo box:
How the Company Pick List Filter WorksAfter the ApplyFilter action filters the underlying records, the SetValue action places the criteria in the hidden text box control on the Suppliers form. The Requery action forces the Select Company To Find combo box to refresh its list, forcing the Supplier List query to rerun. The query then runs using the hidden text box contents as the criteria for filtering the company names to appear in the list. The final SetValue action ensures that a valid company name from the filtered list appears in the combo box.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
|
Keywords : FmsOthr kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |