Storages & Files Count property
Count property

Returns the count of the fields in the record.

Syntax:

variable = record_object.Count

Examples:

Set rec = Server.CreateObject("newObjects.utilctls.SFRecord")
rec.AddField "FirstName", vbString, 20
rec.AddField "LastName", vbString, 20
Response.Write "Fileds count " & rec.Count
' Will return 2

Remarks:

Count will always return the total number of the fields - no matter if some of them have their Exclude property set to True.

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