Hello everyone,
I was hoping someone could help me with this script. I would like the start date and the report name to update based upon what radio button is selected:

//rev 3-9-23
names default to here(1);
dtspec="J:\Public\Ti Process Control\Dashboard Files\JMP data for CC's\Limits\Master limits table rev 10-10-22.jmp";
//Get user name
dll = Load DLL( "mpr.dll" );
dll << DeclareFunction(
"WNetGetUserA",
Convention( STDCALL ),
Alias ( "GetUserName" ),
Arg( UInt8, "format", input ),
Arg( AnsiString, "username", output ),
Arg( UInt64, "length", update ),
Returns( UInt32 )
);
username = " ";
unlen = length(username);
result = dll << GetUserName(0, username, unlen);
rbstate="wkly";
/* Create a modal user dialog */
nw1=New Window( "Select Date Range for out of spec",<<MODAL></MODAL>I was thinking I need to use append somehow but not quite sure how to get there.
Any help is greatly appreciated.
Thanks !
Steve