francoisp
12th September 2008, 18:21
To print the data to another file than the default file for a device, we set the spool.fileout variable.

When running a session (with AFS) that starts several reports (like invoicing), I would like to know if there is a way to a specify a different filename for each report.

Or will Baan always assume that all reports are going to spool.fileout?

francoisp
12th September 2008, 22:52
According to Baan support, all reports called by one session using AFS will share the same spool.fileout.

sushil
19th September 2008, 14:52
Hi Francois,

may be you could try using timestamp in spool.fileout.

Regards,
Sushil Kumar Mudaliar

mark_h
19th September 2008, 16:03
Hi Francois,

may be you could try using timestamp in spool.fileout.

Regards,
Sushil Kumar Mudaliar

Nice idea, but won't work. I created temp files, but even then I had to modify my session to know when it was a first or second run of the script. Most cases did not matter since the reports were not needed.

sushil
20th September 2008, 07:53
Hello,

try the following link :

http://www.baanboard.com/baanboard/showthread.php?t=53698

Regards,
Sushil Kumar Mudaliar.