Export (0) Print
Expand All

ListBoundField Property


This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Returns or sets the field that is bound in the specified list or combo box (as opposed to the field that is displayed). Applies only to list boxes and combo boxes. Read/write String.

expression.ListBoundField

expression   Required. An expression that returns an ElementExtension object.

Remarks

Use the ListDisplayField property to return or set the displayed field.

This property is used with the ListRowSource and ListDisplayField properties to control how data is displayed in a list box or combo box. For example, consider a list box that displays product names in a section called Order Details. The recordset behind the Order Details section includes a field named ProductID that represents the product for a given Order Detail record. But instead of displaying ProductID in a textbox, the page author wants to display product names in a dropdown list box. The list box can be filled with a recordset definition named Products which contains fields called ProdID and ProductName from the Product table. The properties of this list box element would be set as shown in the following table.

PropertyValue
ListRowSourceProducts
ListBoundFieldProdID
ListDisplayFieldProductName
ControlSourceProductID

 

Show:
© 2015 Microsoft