CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Need to place text into the BODY of a document

Print topic Send  topic

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


   


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.