Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know which triggger have failled?
Message
From
24/05/1997 14:52:54
 
 
To
14/05/1997 07:44:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00032132
Message ID:
00033520
Views:
41
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
Previous
Reply
Map
View

Click here to load this message in the networking platform