Hello everyone,
In a database, I perform calculations on columns. At the end of the JSL script, At the end of these calculations, I have certain variables (as in the script below) and my goal is to enter these variables in a new database.
For example, the variable "a" would be entered in the 1st row and 1st column of my new data table, the variable "b" would be entered in the 2nd row and 1st column of my new data table...
Here is the database and script I'm using at the moment:

Names Default To Here (1);
dt = current data table();
a = Col Sum(:"test2"n);
show(a); // 3
wait(1);
NewTable = Open("...\NewTable");
NewTable[1,{"Column1"}] = [Expr(a)];The “NewTable” table is an empty table with only the column names already entered.
Maybe there is an easy JSL function to solve this problem, thanks for your help!