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