Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms - How to record errors

Status
Not open for further replies.

BJCooperIT

Programmer
May 30, 2002
1,210
0
0
US
OK folks, here is my dilemma. I have a client who wants forms to keep track of error messages displayed by forms. My problem is that fatal errors in the form will prevent database commits.

For example, a form has a foreign key field in which the user enters an invalid value. In the WHEN-VALIDATE-ITEM trigger, the value is found to be invalid. An insert statement into an error audit table is added before the "raise form_trigger_failure". Won't the inserted row rollback if the user cannot commit?

Any ideas?
 
You may write to file system log or send error messages via pipe (asuming that some program (job) is reading this pipe and writing the message to the table).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top