CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Show/Hide form

Print topic Send  topic

Author Message
MAC
Posted: 07/12/2002, 8:19 AM

I'm using codecharge studio 1.0, I'm creating an ASP app, I've a page with 3 forms, but would like to show only a specific form depending on the user id. I've saw an article that discuss about this topic, but I don't know hoe to create an open page event in CCS1 and everytime that I tried to use the SetVar function a get the following error "SetVar is not defined", my page includes the Template.asp.

Can some one help me on this, please?

MAC
Chris K.
Posted: 07/12/2002, 10:41 AM

The tip you mention was for CC probably. To hide a form in CCS use:

<formname>.Visible=false

in the BeforeShow event.
Mike
Posted: 07/12/2002, 11:28 AM

<Topic Visible property>
<Author Chris K. >
<Date Created 7/12/02 10:41:56 AM >
<Message The tip you mention was for CC probably. To hide a form in CCS use:>
<>
<<formname>.Visible=false>
<>
<in the BeforeShow event. >

I tried this and ended up getting a "variable is undefined" for <formname>. I have been playing with this for four days... please help.
MAC
Posted: 07/12/2002, 2:56 PM

Chris;

Thanks for your help !!!
Chris K.
Posted: 07/13/2002, 10:25 AM

Just replace those <formname> with name of the form you want to hide. If the form name is SampleForm, instruction to hide it is:

SampleForm.Visible = false

I hope it is clear now...

   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.