PROPERTY: Field::Name

string = fieldobject.Name
fieldobject.Name = string
 
The Name property returns a string that is the name of a Field object. For example, you can use this property when adding a Field object to a Fields Collection or to a Recordset object. This property has read/write permission when being used to create recordsets, but converts to read-only when you open an already created recordset.
 
The name can be obtained from the Fields Collection (see example) and the Properties Collection.
 
The Name property is also used by the Command, Parameter, and Property objects.
 
Code (VBScript):
For Each objField In objRecord.Fields
   Response.Write objField.Name & VBCRLF
Next

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information