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

Indexed property that returns a field from the record.

Syntax:

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

Parameters:

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

Examples:

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

Remarks:

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 [ ]