ADO » Field » Name

string = fieldobject.Name
fieldobject.Name = string

Sets or returns a string value that is the name of the Field object.

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.


For Each objField In objRecord.Fields
   Response.Write objField.Name & VBCRLF

See Also: