Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error table for VFP 60
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00363268
Message ID:
00363318
Vues:
18
>>Does anyone know where I can get a listing of VFP errors and their meaning?
>>
>>Thanks, Dave <:)
>
>The help file has a listing both by number and alphabetical. In VFP it's pretty easy to build your own error table with these values. Just loop through all values from 1 to 2035, store the error number and message. Be sure, however, to trap for error 1941 (Error code is not valid).

I have also had to just flat out skip error #1116 - Too many windows open. This error always went to a VFP messagebox with just an OK button and never would get sent to the error trap routine. When I first did what you suggested months ago, I thought there was a real problem with too many windows open. I rebooted, Ctrl-Alt-Del to see if anything was not responding in the task list, pulled hair. Then realized the error proc was being bypassed. Try the following:
on error do pNothing

error(1116)

on error

procedure pNothing
*
wait window nowait "Error proc fired..."
return .t.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform