This will return the name of a field at a given index.
Function GetFieldName(ind)
ind (input) - the index to get the name
string - the name of the desired field
Example
Sample code
Dim f_count
If DB.Select() Then
f_count = DB.GetFieldCount()
Dim name
For I = 0 To f_count - 1
name = DB.GetFieldName( I )
Next
End If
See also