Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On error
Message
De
26/02/2007 10:11:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01198769
Message ID:
01198771
Vues:
8
>If I wrote
>
>on error 1881 = messagebox ("bad data")
>
>it works OK, but if I wrote
>
>on error 1881 do form error1
>
>It gives sintax error
>
>What can be wrong ?

You got first thing right by accident only. The correct syntax is:
ON ERROR [your command]
It means you could say:
ON ERROR Do Form Error1
and within the form you could check error number (by using ERROR()) and show appropriate message.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform