The InsertItem function inserts a new item.
Syntax
Integer Table.InsertItem(
Integer index = -1)
Integer index = -1)
Parameters
| index | Index of the item. -1: Last. | Optional |
|---|
Return value
The InsertItem function returns the index of the new item.
If an error occurs, the InsertItem function returns -1.
Example
myTable.InsertItem()