ACC2000: Page Dropdown and List Box Can Only Display One Column (202454)
The information in this article applies to:
This article was previously published under Q202454 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).
SYMPTOMS
When you add a drop-down list box or a list box to a data access page, you see only one column of data.
If you are using the Control Wizard, you can enter two columns, but you can only see one of those columns. If you are using the Control Wizard and you try to add more than two columns, you receive one of the following messages:
No more than 2 fields can be selected.
-or-
A number from 1 to 2 must be entered.
After you click OK to the message, you may see the following error message:
Subscript out of range.
CAUSE
You cannot set the ListDisplayField property of the dropdown list and list box controls to multiple fields.
When you use the Control Wizard to add a dropdown list or a list box control, you cannot add more than two columns. The ListDisplayField property contains the values that you see. The wizard uses the column that you do not see to set the ListBoundField property.
REFERENCESFor more information about the ListDisplayField property, click Microsoft Access Help on the
Help menu, type data access page control properties in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Major | Last Reviewed: | 12/12/2002 |
---|
Keywords: | AccDAP DAPHowTo kbDAP kbdta kbprb KB202454 |
---|
|