igdigd
3rd February 2009, 16:42
I have a session which runs AFS a report, all is OK if the reports out directly, sending printer (WIN) or sending screen (D).
Actually, I use this code:
stpapi.set.report("tdxxx1431m000","rtdxxx143111000",dispositivo,err.msg)
if isspace(err.msg) then
stpapi.print.report("tdxxx1431m000",err.msg)
endif
Are there any instruction for open the reports with mode = 1 instead mode = 0 (default)
long brp.open( string rep_name(16), string device(14), long mode )
brp.open()
Syntax
long brp.open( string rep_name(16), string device(14), long mode )
mode
0 User is not prompted to select a spooler device.
1 A window is displayed in which the user can select a spooler device.
Cancel button enables the user to cancel the operation.
2 A window is displayed in which the user can select a spooler device.
Actually, I use this code:
stpapi.set.report("tdxxx1431m000","rtdxxx143111000",dispositivo,err.msg)
if isspace(err.msg) then
stpapi.print.report("tdxxx1431m000",err.msg)
endif
Are there any instruction for open the reports with mode = 1 instead mode = 0 (default)
long brp.open( string rep_name(16), string device(14), long mode )
brp.open()
Syntax
long brp.open( string rep_name(16), string device(14), long mode )
mode
0 User is not prompted to select a spooler device.
1 A window is displayed in which the user can select a spooler device.
Cancel button enables the user to cancel the operation.
2 A window is displayed in which the user can select a spooler device.