Param

This property returns the values stored in the named columns of the DataRecord.

Group: DataRecord Object


Syntax: Param(vParamID, [vRowNo]) = vValue

Alternate: vValue = Param(vParamID, [vRowNo])

vValue        (Variant) the stored value given a parameter ID

vParamID    (Variant) then name of a column in the DataRecord

vRowNo      (Variant) Optional – if the DataRecord is a table containing multiple rows of data, this parameter will move the data pointer to the specified row before retrieving the data.

Example:

Dim vData As Variant

oData.Param("ErrMsg") = "Wrong value."
vData = oData.Param("DeviceNo")
vData = oData.Param("FormId")
vData = oData.Param("IPAddress")
vData = oData.Param("ExecDate")