Name

This property, which is read-only, returns the name of a field.

Syntax

var =field.Name

Return Values

Returns a String value that specifies a name.

Remarks

Field names cannot be longer than 64 characters.

Example

Dim rs, n
Set rs = CreateObject ("adoce.recordset")
rs.Open "table1"
For n = 0 to rs.Fields.Count -1
MsgBox rs.Fields(n).Name
Next