Visual InterDev

setRowSource Method

See Also      Applies To

Specifies the recordset from which the control will extract its lookup list.

Syntax

setRowSource(objDS, ListFieldName, BoundFieldName)

Parameters

objDS

A data source object that is valid for Microsoft® Visual InterDev™. For example, a Recordset object.

ListFieldName

The field from which the method extracts the text to display.

BoundFieldName

The field to which the object will bind the data that is stored.

Remarks

The ListFieldName and BoundFieldName parameters are variant expressions that evaluate to the name or the index of a field that is made available by the Recordset object's getRecordSource method.