Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sys(1037) problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Sys(1037) problem
Divers
Thread ID:
00108523
Message ID:
00108523
Vues:
85
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform