I am creating report from data table and add "Report" URL link at bottom of the report. However, the URL link is not working.
I am suspecting the way I get the URL link might be incorrect. Need community help to take a look if anything wrong on the code.
dt = Open( "$SAMPLE_DATA/big class.jmp" );
dt << Save( "$TEMP/" || Char( dt << get name )||".jmp" );
nm = "$TEMP/" || Char( dt << get name )||".jmp"; //Get URL link for the file
vb = V List Box();
dt << Get As Report;
vb << Append((dt << Get As Report));
vb << Append(Button Box("Report", Web("nm"), <<underlinestyle));
New Window ("Test", vb);