Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know which triggger have failled?
Message
De
24/05/1997 14:52:54
 
 
À
14/05/1997 07:44:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00032132
Message ID:
00033520
Vues:
39
hello! After my reply to your question I made additional researsh and find out some code that will be useful (I'm hope!): In your cmdSave.Click place something like: IF .NOT. TABLEUPDATE(.T.,.T.) =TABLEREVERT(.T.) &&Revert the change IF TYPE('gaErrors[1,1]') <> 'L' =MESSAGEBOX('Trigger Failed - '+gaErrors[1,2],0,; 'Data Entry Error/Trigger Failed') ENDIF GO TOP ENDIF THISFORM.REFRESH Have a happy day Vladimir Shevchenko > > I would like to know during data entry into a table which trigger have > failled. My objective is to intercept the message "trigger failled" to > inform the user a message more specific.
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform