Adding a line.

Call:

ts_table(TableDescr1,"add_row", 0, objectname, 1, value_to_column_1, 2, value_to_column_2);


Here in column No. 0 we write the value from the variable objectname, in column No. 1 we write the value of value_to_column_1, and in column No. 2 we write the value of the variable value_to_column_2.

If column #0 is set as the "primary key" (specified in the set_first_key directive), then you can write column values ​​in several commands:

ts_table(TableDescr1,"add_row", 0, objectname, 1, value_to_column_1);
ts_table(TableDescr1,"add_row", 0, objectname, 2, value_to_column_2);


The data will be added to the same line with the value in key column #0.