IDL Programming > Objects > Miscellaneous Object Classes > IDLdbRecordset::SetField

IDLdbRecordset::SetField

Use the IDLdbRecordset::SetField procedure method to set the value of a field in the current record of a recordset.

Syntax

RSobj -> [IDLdbRecordset ::]SetField, iFieldNumber, Value [, /NULL]

Arguments

iFieldNumber

The number of the field whose value is returned. Field numbers have a range of 0 <= n < number of fields.

Value

The value to which the field should be set. If the provided value is not of the correct type, it is converted.

Keywords

NULL

Set this keyword to set the value of the field to NULL. Null is a special value used in database systems to indicated that a specific field does not contain a valid value.

Version History

5.0

Introduced