Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
How to haldle error 1957
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement