Storages & Files Field property
Field property (read only, indexed, default)

Indexed property that returns a field from the record.


Set variable = record_object.Field(index)
Set variable = record_object(index)


index - String or number. The name or index of the field in the record.


For I = 1 To rec.Count
  Response.Write rec(I).Name & " = " & rec(I) & "<BR>"
' Will list the fields names and their values


This property gives the application access to the previously added fields into the record. It supports names and numeric indeces therefore the fields can be accessed sequentially and directly (by known name) as needed.

Applies to: SFRecord object

See also: SFField

Supported on:

Windows 95/NT and later
Windows CE 3.0 and later
Pocket PC/Windows Mobile 2003 and later
Windows CE.NET 4 and later


newObjects Copyright 2001-2006 newObjects [ ]