CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Invisible Editable-Grid-Form

Print topic Send  topic

Author Message
Ricardo Silva
Posted: 01/06/2004, 6:27 PM

Hi!

I need to hide one CCS editabled-grid-form one the following circunstances:

1. The value of variable, obtained from the URL, is equal to "-1" (Ex.:
page.asp?variable=-1);
2. The value of variable, obtained from the URL, is equal to "-2" (Ex.:
page.asp?variable=-2);
3. The variable doesn't appear in the URL (Ex.: page.asp).

I have no problem defining the first 2 conditions by using the
"editable-grid-form.visible = false" command between the IF and END IF.

However, I don't know how to do and if it is possible to do, the 3rd
condition... So, can anyone please help me on this?

If a certain variable isn't present in the URL, how can I turn off the
visibility of am editable-grid-form?

Thanks in advance.

Best regards,
ricardo

Edd


Posts: 547
Posted: 01/06/2004, 3:49 AM

What about testing if the the variable is EMPTY?

Edd
_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message
BlinkyBill

Posts: 86
Posted: 01/06/2004, 7:32 PM

Ricardo,

Are you using using CCGetParam to read the querystring rather than request.querytstring, if so this will work:

  
If CCGetParam("variable", -1) is < 0 then  
   editable-grid-form.visible = false  
End If  

Assumption: -1 and -2 are the only non 0 values. CCGetParam two arguments, 1st: the variable you searching, 2nd a default value if the variable doesn't exist.
View profile  Send private message
wefewf
Posted: 05/28/2004, 7:04 AM

:-/
erwer
Posted: 05/28/2004, 7:05 AM

:-):-{}:-@O:)
Quote :
reterft

Add new topic Subscribe to topic   


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.