ACC1x: Company Pick List in Suppliers Form Doesn't Filter |
Q109406
When 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.
The 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.
The 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:
ControlName: Company Pick List Filter
Visible: No
Default Value: *
SetValue
Item: [Company Pick List Filter]
Expression: "[Aaaa]*"
Requery
ControlName: Company Pick List
SetValue
Item: [Company Pick List]
Expression: [Company Name]
SetValue
Item: [Company Pick List Filter]
Expression: "*"
Requery
ControlName: Company Pick List
SetValue
Item: [Company Pick List]
Expression: [Company Name]
Like [Forms]![Suppliers]![Company Pick List Filter] & "*" This behavior is by design.
Keywords : kbusage
Issue type : kbprb
Technology :
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |