I was wondering if someone could offer a solution for how to allow the Summary input box to show up but have the "Linked to source data" option unchecked. I tried this: dt<<summary(link to original data table(0)); but it just runs the summary with nothing selected. For right now I'm using just dt<<summary(); but I have to remember to click the check box or else when my macro closes the table being summarized the summarized table closes as well.
names default to here(1);
dt=current data table();
selrows=dt<<get selected rows;
dt2=dt<<subset(selrows, selected columns(0),"invisible",);
If(
ex = New Window( "Press to continue",
<<Modal,
<<Return Result,
V List Box(
H List Box( Button Box( "OK" ), Button Box( "Cancel" ) ),
obj=dt2<<summary(),
)
);
ex["button"] == 1;
,
ex["variable"],
"CANCEL"
);
dt3=current data table();
close(dt2,nosave);