GetFieldIndex  Table

The GetFieldIndex function retrieves the field index from its name.

Syntax

Integer Table.GetFieldIndex(
     String name)

Parameters

nameName of the field.Required

Return value

The GetFieldIndex function returns the field index.

If an error occurs, the GetFieldIndex function returns -1.

Example

index = myTable.GetFieldIndex("ID")
SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia