Hello,
working with a customer which aims to automate data gathering from various clinical study we used Action recorder to get the appropriate lines of script.
Now I'm simplifying the script using list and loops to make it generic for larger usage.
I was able to do it down to row 58. At rows 58-61 I try to reproduce what happens with rows 63-100 using a FOR loop and a formula as shown below:
For( i = 1, i <= N Items( colList ), i++,
Data Table( "Summary with Dose=0" ) <<
New Column( colList_Sum_3[i],
Numeric,
"Continuous",
Format( "Best", 12 ),
formula( colList_Sum_1[i] - colList_Sum_2[i] )
)
);
It creates the appropriate colums (based on a list) but not the formulas in each column.
I tried with Eval / Expr but I have to admit that I don't know how and when to use them.
Thanks for the help.
Emmanuel