Article ID: 202454
Article Last Modified on 12/12/2002
APPLIES TO
- Microsoft Access 2000 Standard Edition
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.
REFERENCES
For 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.
Additional query words: DAP prb
Keywords: kbdap kbdta accdap kbprb daphowto KB202454