Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to trap error 52
Message
 
À
15/01/2001 11:16:54
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00463728
Message ID:
00463949
Vues:
16
>Vlad,
>Thanks for the answer, but I don't like it. There has to be some way around this. I have been plagued by this as I am writing a conversion program. I finally was able to pin it down to a typeo. The problem was it occured on about the 8000th time thru a loop. Debugging is hard under those circumstances.

Calvin,

If the user exits from the Open dialog by clicking on Cancel, the error #52 will be raised and you can handle it. I don't think there is any option to suppress this annoying dialog (but there should be, I agree). That leaves only the alternative strategy of making an explicit check for the condition that would lead to an error before attempting a command that might trigger this dialog.

Mike
Montage

"Free at last..."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform