Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Poll
Is it good to change the Technology per business or changing Business per Technology?
Change Technology per Business
64%
Change Business according to Technology
7%
It Depends
29%
Never change Business
0%
Total votes: 14

Baanboard at LinkedIn


Reference Content

 
roylansink's blog
spool report to second device
By roylansink at 7 Apr 2020 - 14:29

Hi All, 

 I'm trying to print a report to a second device. The idea is that with the print, the report is stored to a folder as well. 

The following code is used for testing purpose, but when I run the report, I get a blank notepad file. What am I doing wrong?  

<code>
after.report.1:
after.layout:

|Save original values
org.spool = spool.id
org.pr.line = spool.pr.line
org.fileout = spool.fileout

|Open extra spooler and print report
spool.id = spool.open("rtcmcs041011000","NOTEPAD",0)          
spool.line()
spool.close()   

|fill predefined vallues with original values 
spool.id = org.spool
spool.pr.line = org.pr.line  

</code> 



All times are GMT +2. The time now is 11:33.


©2001-2021 - Baanboard.com - Baanforums.com