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

 link and label

Print topic Send  topic

Author Message
stefano
Posted: 07/31/2003, 7:49 AM

win 2000 + IE 6.0 ; server - apache 1.3 + php 4.2.3 + mysql 3.23


have a grid and one column contains a link.
this column takes the value from the database and the value can be 2 or 1.
if the value is 1 the link must remain a link else the link must change and became a label.
I have put in the BEFORE SHOW ROW event this code:
if(($newsbutta2->Link1->GetValue())=='1')
$newsbutta2->Link1->SetLink("NewPage4.php?elimina=1");
else
$newsbutta2->Link1->SetLink("");

but if the value is 2 it doesn't work. how can i do???
sorry for my english
resolved
Posted: 07/31/2003, 8:39 AM

resolved

   


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.