Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping uniqe error
Message
 
À
22/06/1997 21:00:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00037301
Message ID:
00037379
Vues:
32
>Thanks for your answer Barbara!
>
>I did the following.
>
>In the grids Error event I put
>IF nError=1884
>tablerevert(.t.,"ANSOGGRP")
>ENDIF
>
>Is this ok to do or am I missing something here??
>
>Best regards
>Per Simmersholm

Per, that will work, but all of the information the user entered along with the bad Emp.Nr. will be lost. If you check the value in the Valid event of the EmpNr textbox, then they can change the value or revert the record BEFORE they enter other data.

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform