CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> Java

 Saving form's error message into database

Print topic Send  topic

Author Message
altroz

Posts: 1
Posted: 10/05/2009, 9:35 PM

Hi all,

I wanted to record log message into database when a new record had been inserted successfully. I created a record form using Record Builder. Then, I added custom codes inside After Insert.

The problem is, the code was executed even when the form entry was not valid. How to avoid this so that only successful insert record that will be recorded to the log table?


Danny.
View profile  Send private message
coddz

Posts: 19
Posted: 10/05/2009, 10:04 PM

valid before insert or catch jdbc error(public boolean hasErrors()).
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.

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.