William Raymond
|
| Posted: 03/22/2002, 1:59 PM |
|
Hello,
I wrote some code in the "Before Show" of a form. It places an ActiveX
control into the document.
Then, between the <BODY></BODY> tags, I wants to place some script, which is
dynamically generated after getting certain information from the database.
Is there a way for my Form's "Before Show" code to place the script between
the BODY tags instead of before them? If not, what would be the best
approach to do so?
Thanks,
-Bill
|
|
|
 |
Alexey Alexapolsky
|
| Posted: 03/25/2002, 5:13 AM |
|
If you use html templates, put
{template_variable}
into Form[Page] Header&Footer section
then dump your generated javascript into some variable
and then fill template variable with this JavaScript , e.g.
SetVar "template_variable", js_code
If you don't use templates you can simply output generated script
via standard print statements
--
Alex
CodeCharge Developer
"William Raymond" <braymond@officecollab.com> wrote in message
news:a7g9fj$9ge$1@news.codecharge.com...
> Hello,
>
> I wrote some code in the "Before Show" of a form. It places an ActiveX
> control into the document.
>
> Then, between the <BODY></BODY> tags, I wants to place some script, which
is
> dynamically generated after getting certain information from the database.
>
> Is there a way for my Form's "Before Show" code to place the script
between
> the BODY tags instead of before them? If not, what would be the best
> approach to do so?
>
> Thanks,
>
> -Bill
>
>
|
|
|
 |
|