CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Event snippets

Print topic Send  topic

Author Message
Steve Wilson
Posted: 03/20/2003, 7:30 AM

When I use a response.write in any of the code snippets on any form on the
page, they always show up at the very top of the page. Any way to get them
to show up right above or below the form on the page where the snippet is?

Thanks

Stefan Hogedal
Posted: 03/23/2003, 12:40 PM

Assuming CodeCharge ASP with templates this is how I would do it:
1. Put a unique placeholder where you want your output (form properties
Header/Footer), let's say {myHeader}
2. Change
response.write "text"
to
SetVar "myHeader", "text"

/Stefan

"Steve Wilson" <mr_wilson@hotmail.com> wrote in message
news:b5cmrj$23a$1@news.codecharge.com...
> When I use a response.write in any of the code snippets on any form on the
> page, they always show up at the very top of the page. Any way to get
them
> to show up right above or below the form on the page where the snippet is?
>
> Thanks
>
>

Steve Wilson
Posted: 03/25/2003, 7:22 PM

Hey. Thanks for your reply. Tell me more about unique placeholder. I
tried just putting myHeader in the header without quote or anything and put
the code in as you suggested in the before show event. It didn't error, but
myHeader didn't change to "text".

Thanks again.

"Stefan Hogedal" <shogedal@hotmail.com> wrote in message
news:b5l63m$rhs$1@news.codecharge.com...
> Assuming CodeCharge ASP with templates this is how I would do it:
> 1. Put a unique placeholder where you want your output (form properties
> Header/Footer), let's say {myHeader}
> 2. Change
> response.write "text"
> to
> SetVar "myHeader", "text"
>
> /Stefan
>
> "Steve Wilson" <mr_wilson@hotmail.com> wrote in message
>news:b5cmrj$23a$1@news.codecharge.com...
> > When I use a response.write in any of the code snippets on any form on
the
> > page, they always show up at the very top of the page. Any way to get
> them
> > to show up right above or below the form on the page where the snippet
is?
> >
> > Thanks
> >
> >
>
>

Steve Wilson
Posted: 03/28/2003, 5:53 PM

I figured it out. Thanks. You have to put the placeholder in {} curley
brackets.....


"Steve Wilson" <mr_wilson@hotmail.com> wrote in message
news:b5r6e7$dqg$1@news.codecharge.com...
> Hey. Thanks for your reply. Tell me more about unique placeholder. I
> tried just putting myHeader in the header without quote or anything and
put
> the code in as you suggested in the before show event. It didn't error,
but
> myHeader didn't change to "text".
>
> Thanks again.
>
> "Stefan Hogedal" <shogedal@hotmail.com> wrote in message
>news:b5l63m$rhs$1@news.codecharge.com...
> > Assuming CodeCharge ASP with templates this is how I would do it:
> > 1. Put a unique placeholder where you want your output (form properties
> > Header/Footer), let's say {myHeader}
> > 2. Change
> > response.write "text"
> > to
> > SetVar "myHeader", "text"
> >
> > /Stefan
> >
> > "Steve Wilson" <mr_wilson@hotmail.com> wrote in message
> >news:b5cmrj$23a$1@news.codecharge.com...
> > > When I use a response.write in any of the code snippets on any form on
> the
> > > page, they always show up at the very top of the page. Any way to get
> > them
> > > to show up right above or below the form on the page where the snippet
> is?
> > >
> > > Thanks
> > >
> > >
> >
> >
>
>


   


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

Web Database

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.