Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sys(1037) problem
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Sys(1037) problem
Miscellaneous
Thread ID:
00108523
Message ID:
00108523
Views:
84
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
Map
View

Click here to load this message in the networking platform