Home > Language Reference > Classes > Recordset

Field Property

Content of one field of the current record.

Syntax

Public Property Get Field(ByVal iIndex As Integer) As Variant
Public Property Let Field(ByVal
iIndex As Integer, ByRef vValue As Variant)

ParameterDescription
iIndexIndex of the field.
vValueNew value.

Remarks

The first field in a table is indexed with the value 1. If the value of the iIndex argument is greater than the number of fields in the table, a runtime error occurs. You can enumerate fields using the FieldCount and FieldName functions.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A