TableAddColumn
The TableAddColumn function allows you to add a new column to an
existing SFHub Table.
Prototype
TableAddColumn(Table ; ColumnName; ColumnType; ...)
Arguments
Table Variable By value
Argument contains the variable of type table.
ColumnName String By value
Argument that contains the name of the new column.
ColumnType String By value
Argument that contains the data type assigned to the new column. Column types are qualified using following notation described in the TableDefine function.
Returns
Boolean
True is returned if the function terminates successfully.
Exception
Undefined
Undefined is returned if one of the arguments is invalid.
Example
TableAddColumn($$myTable; 'Column3'; 0)
This will add a new column of type numeric to the table referenced by the variable $$myTable.