Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Trapping
Message
 
À
06/05/1998 12:36:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00097406
Message ID:
00097609
Vues:
22
>I am using Foxpro/Lan 2.0 (I know it's old!) I have some users who only need one or two pages of a report so they turn off their printer after printing the pages they want. The Foxpro message "Printer not ready Retry?" comes up but when No is chosen the print job isn't always canceled, sometimes the "Printer not ready Retry?" message box comes up again, sometimes three times, before choosing No works. There wasn't any error trapping in the application when I inherited it so I am trying to put some in. I don't know how to handle the choice of canceling the print job. Does anybody remember how to handle this in this old version? Any help is appreciated! Thanks. Also, if I put in some error trapping does that mean I have to account for ALL Foxpro's internally generated error messages? I have had an error message come up on screens where I don't have an ON ERROR routine saying it can't find my error message file. Why is that?

I don't know the version you are using but can't you put "Prompt" at the end of your report command to allow the user to specify how much of the report they want - negating the whole issue?
Sarah King
pcpropertymanager.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform