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

 Prevent Included File From Displaying?

Print topic Send  topic

Author Message
Chris Moore
Posted: 07/09/2003, 12:56 PM

I am having to add an Email text box & Order button at the bottom of my
search results page. I have decided to try & use an Include Page to do
this. This Order information should only display IF the search returned any
results. Is there a way to suppress the display of this page? I can't check
the # of records because appearantly the Data decleration is not in the
Included page, only the original Search/Results page.

Thanks

Chris
Frank Rocco
Posted: 07/09/2003, 1:12 PM

Did you try:

<% if displayvar = 1 then %>
#include .....
<% End If %>

Regards,

Frank

DonB
Posted: 07/09/2003, 3:21 PM

Ack, no, no, no. Do not put code directives in your HTML file. Not that
you can't, but it is poor practice. I will discuss that in the write up I
promised you on templates (in the previous topic).

Don
"Frank Rocco" <farocco@hotmail.com> wrote in message
news:behsum$4v2$1@news.codecharge.com...
> Did you try:
>
> <% if displayvar = 1 then %>
> #include .....
> <% End If %>
>
> Regards,
>
> Frank
>
>

Frank Rocco
Posted: 07/10/2003, 6:42 AM

oops..

My old ASP coding is showing.
Thanks for the heads up.

Frank

"DonB" <7432D63DBB01D03A196B1EDD80E8@comcast.net> wrote in message
news:bei4gd$etj$1@news.codecharge.com...
> Ack, no, no, no. Do not put code directives in your HTML file. Not that
> you can't, but it is poor practice. I will discuss that in the write up I
> promised you on templates (in the previous topic).
>
> Don
> "Frank Rocco" <farocco@hotmail.com> wrote in message
>news:behsum$4v2$1@news.codecharge.com...
> > Did you try:
> >
> > <% if displayvar = 1 then %>
> > #include .....
> > <% End If %>
> >
> > Regards,
> >
> > 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.