iscons
4th August 2014, 23:48
In Baan V, how do I get the print option to work from a Maintain session ? do I make a print session with a report and somehow link it to the Maintain session ??

bhushanchanda
5th August 2014, 10:56
Hi,

In LN, you can select the maitain session - > Specific - > Standard Command - > Tick the Print Report checkbox.

Now, Specific - > Reports - > Link Report to Session. Here you can link your report or you can generate a new one.

Now, in your program script, you can use

choice.print.data:
on.choice | or after.choice: section
if rprt_open() then
read.main.table() | Call your function which prints data.
rprt_close()
else
choice.again()
endif


Hope this helps.