DBCreator.GetFieldName

Description

This will return the name of a field at a given index.

Syntax

Function GetFieldName(ind)

Parameters

ind (input) - the index to get the name

Return value

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

Platform Objects and Methods

DB.sort

DB.GetFieldCount

DBCreator.GetFieldNames