getNthFieldName

The getNthFieldName method returns the name of the Nth field object.

 

Syntax

getNthFieldName(System.Int32 nIndex);

 

Parameters

nIndex

The index of the field to search

 

Return Value

Returns the name of the Nth field object, otherwise, null.

 

Remarks

Member of doc.

 

Example

for (var i = 0; i < this.numFields; i++)
      app.alert("Field[" + i + "]: " + this.getNthFieldName(i));