Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to haldle error 1957
Message
De
07/02/2001 13:20:00
Peter Wagner
Point Informática Ltda.
Limeira, Brésil
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to haldle error 1957
Divers
Thread ID:
00473483
Message ID:
00473483
Vues:
64
When I send a order to print a report from VFP at the station,
and the report starts printig, after some time user click on the
printer tray icon, select the report and delete the report that
is printig I get this message:
Error accessing printer spooler ( error 1957 )

I have procedure to execute when an error occurs using the on error command

ON ERROR DO TrataErro WITH ERROR(), MESSAGE(), PROGRAM(), LINENO()

Function TrataErro()
PARAMETERS nCodEr, cMsgEr, cProgEr, nLinhaEr, cSistema

do case
.
.
case nCodEr = 1881
do something()..
.
case nCodEr = 1957

how can I handle this eror code ?
.
.
.
endcase

Could someone help me please, so that the system could handle this error ?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform