fields Property

See Also            Applies To

Specifies an instance of the fields script object.

Syntax

object.fields

Parameters

object

A Recordset script object.

Remarks

The fields script object is a child object of the Recordset script object.

Example

In the following VBScript, the value of "myfield" is written to the page as long as the cursor is not positioned beyond the end of the recordset.

Do While not MyRecordset.EOF
   Response.write MyRecordset.fields.getValue("myfield")
   MyRecordset.moveNext
Loop