The information in this article applies to:
SYMPTOMSWhen you use the Filter By Form feature, a combo box or list box contains more values than the number that you specified in the "Don't display list where more than this number of records read" box on the Edit/Find tab of the Options command on the Tools menu. CAUSEThe Filter By Form combo box or list box is based on a Lookup field and the field's DisplayControl property is set to Combo Box or List Box in the underlying table. Microsoft Access uses the field's RowSource property setting from the table to fill the combo box or list box with values instead of reading records from the form's recordset. RESOLUTION
You can set the field's RowSource property in the underlying table to a
top values query, which limits the number of records (or rows) returned to
the field's combo box or list box. To do so, follow these steps:
STATUSThis behavior is by design. MORE INFORMATION
The Filter By Form feature displays a form with various controls (such as
text boxes, combo boxes, and list boxes), which you can use for entering or
selecting values to filter the form's underlying recordset. To create a
combo box or list box on a Filter By Form, Microsoft Access reads records
in the form's recordset to find unique values per field and then fills the
box's value list with the unique values. If the form's recordset contains
thousands of records, you can use the Options command to specify the number
of records to read when filling value lists for a Filter By Form combo box
or list box. The setting is called "Don't display list where more than this
number of records read" and is located on the Edit/Find tab of the Options
command on the Tools menu.
Steps to Reproduce Behavior
REFERENCESFor more information about limiting query results, search the Help Index for "TopValues Property," or ask the Microsoft Access 97 Office Assistant.
Keywords : kbusage FmsOthr |
Last Reviewed: April 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |