CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Database error message box

Print topic Send  topic

Author Message
Bon733
Posted: 09/22/2003, 8:00 AM

Is there a better way to show a database error than the default sql error
shown on the page. Since my app contains foreign key constraints I would
like to present the user a more non-technical error message. Any ideas?

DonB
Posted: 09/22/2003, 11:52 AM

In the relevant events (after Insert, Delete, Update) you can inspect and/or
modify the errors collection of the datasource (or even clear the collection
altogether). This means you can cleanup the error to simplify it or change
the behavior - such as generate a popup error or simply writing it to a log
somewhere.

--
DonB

http://www.gotodon.com/ccbth


"Bon733" <bon@nospam.com> wrote in message
news:bkn2qf$2h7$1@news.codecharge.com...
> Is there a better way to show a database error than the default sql error
> shown on the page. Since my app contains foreign key constraints I would
> like to present the user a more non-technical error message. Any ideas?
>
>


   


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

Web Database

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.