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

 Help - How to do this with CCS templates?

Print topic Send  topic

Author Message
Frank Rocco
Posted: 07/11/2003, 8:31 AM

Hello,
txtContent is a hidden field in the Form1.

How can I call this function when the user hits the insert or update button
on the form?

function getContent() {
Form1.txtContent.value = obj1.getContentBody()
}


Thanks for the help

Frank

DonB
Posted: 07/11/2003, 2:17 PM

I'd put this code into one of three places, based on what you hope to
accomplish:

1. BeforeInsert and BeforeUpdate
2. BeforeBuildInsert and BeforeBuildUpdate
3. BeforeExecuteInsert and BeforeExecuteUpdate

These events occur in the order listed above. Which one you use depends on
whether or not you need to revise the UPDATE (or any of the data it uses)
prior to executing it.

DonB


"Frank Rocco" <farocco@hotmail.com> wrote in message
news:beml7m$959$1@news.codecharge.com...
> Hello,
> txtContent is a hidden field in the Form1.
>
> How can I call this function when the user hits the insert or update
button
> on the form?
>
> function getContent() {
> Form1.txtContent.value = obj1.getContentBody()
> }
>
>
> Thanks for the help
>
> Frank
>
>


   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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