Visual Basic: RDO Data Control

Value Property (Remote Data)

See Also    Example    Applies To

Returns or sets the value of an object.

Syntax

object**.Value** [= value]

The Value property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value An expression that evaluates to a value appropriate for the data type, as specified by the Type property of an object. (Data type is Variant.)

Remarks

Use the Value property to retrieve and alter data in rdoResultset objects. The data type of the data returned is indicated by the Type property of the object.

The Value property is the default property of the rdoColumn and rdoParameter objects. Therefore, the following lines of code are equivalent (assuming Column1 is at the first ordinal position):

Dim MyResultset As rdoResultset
X = MyResultset!Column1
X = MyResultset!Column1.Value
X = MyResultset(0)
X = MyResultset(0).Value
X = MyResultset("Column1").Value
X = MyResultset("Column1")
X = RemoteData1.Resultset("Column1")
X = RemoteData1.Resultset(0)
F$ = "Column1" : X = MyResultset(F$).Value
X = MyResultset(F$)
Set X = MyResultset(0): X.Value : X