The SetFieldName function changes the name of the specified field.
Syntax
Integer Table.SetFieldName(
String field,
String name)
String field,
String name)
Parameters
| field | Name or Index of the field. | Required |
|---|---|---|
| name | New name of the field. | Required |
Return value
The SetFieldName function returns true.
If an error occurs, the SetFieldName function returns false.
Example
myTable.SetFieldName("0", "Country")