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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can I trap exceptions from a DBNavigator's actions?

Status
Not open for further replies.

liamlaurent

IS-IT--Management
Oct 30, 2006
30
DM
Hello All,

Is there a way to trap the exceptions that may come from a DB Navigator's action events? Let's say I click on the insert button and there was a problem inserting, is there a way to trap that exception in a try...except block so that I can display my customized error messages instead of seeing the technically horrendous messages that database servers give when there is an insert, delete or update error?

Liam
 
Thanks Aaron,

I just used the OnEditError, OnPostError, and OnDeleteError events of the dataset that the DB Navigator controls.


Liam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top