I'm using the sys(1037) function instead of the PROMPT command for reports, but when I select the cancel button of the print dialog that appears, the print operation executes anyway. Is there a bug with this function, or am I using it wrong? Here is a simple example of what I am doing:
g_frxmain = 'contract.frx'
IF ALLTRIM(G_USERID) = "JSH"
SELECT &lctmpstem &&records to send to report
SYS(1037)
REPORT FORM (g_frxmain) ;
TO PRINTER NOCONSOLE &&took out printer prompt
ELSE
SELECT &lctmpstem
GO TOP
REPORT FORM (g_frxmain) ;
TO PRINTER NOCONSOLE
ENDIF
Thanks for any help.
John.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only