ACC2000: Page Dropdown and List Box Can Only Display One ColumnID: Q202454
|
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.After you click OK to the message, you may see the following error message:
-or-
A number from 1 to 2 must be entered.
Subscript out of range.
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.
Drop-down list boxes and list boxes are designed to display a single column when used in a data access page. You can specify different column names for the ListDisplayField and the ListBoundField properties, but only the field name specified for the ListDisplayField property will be displayed on the page.
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 : kbdta AccDAP DAPHowTo
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: July 8, 1999