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 -> PHP

 BeforeInsert/BeforeBuildInsert doesn't trigger in includable page [SOLVED]

Print topic Send  topic

Author Message
tfertil

Posts: 43
Posted: 12/22/2010, 6:20 PM

Hi,

I got a record in an includable page, and I assigned a BeforeInsert and a BeforeBuildinsert.

I put debug sentences in both events code:

echo "something"

to check, and the events are NOT triggered.

Is there something I must check?

Thanks,

--------

[SOLUTION]

I was trying to establish the value for a required form field in the BeforeInsert / BeforeBuildInsert events, but the validation for required fields is done BEFORE this events can be triggered.

Because the field was empty at the validation time, it never reach the insert point.

I now initilize the value in the BeforeShow event of the form and everything is working OK.
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.