CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Capture or Trap Database errors

Print topic Send  topic

Author Message
joseph2k

Posts: 72
Posted: 11/25/2006, 11:30 PM

Anybody figured out how to capture or trap the database errors for say PHP and mySql?

I saw http://forums.yessoftware.com/posts.php?post_id=65535&s...e+Error+capture

but this was 2 years ago...
View profile  Send private message
JayEdgar


Posts: 77
Posted: 11/27/2006, 8:50 AM

It's best to capture problems before they ever get to the database - add code into OnValidate for whatever object and ensure everything is correct before sending a SQL command.

Jay
View profile  Send private message
joseph2k

Posts: 72
Posted: 11/27/2006, 10:32 AM

Yes... I absolutely agree but I still want to prevent the ugly message from ever showing up on a user screen either through a fault on mine or database or hoster limitations.

If something can go wrong it just might when you least expect it.

Question still stands...
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.