RowSource Property

       

Sets a value that specifies the Data control from which the DataList and DataCombo controls' list is filled. Not available at run time.

Syntax

object.RowSource [ = value]

The RowSource property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value A string expression that specifies the name of a Data control.

Remarks

To fill the list in a DataCombo or DataList control, you must specify a Data control in the RowSource property at design time using the Properties window.

To complete the connection with a field in the Recordset object managed by the Data control, you must also provide the name of a Field object in the ListField property.

Data Type

String