CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> Español

 problema con imagenlink dinamicos(php)

Print topic Send  topic

Author Message
mveraa
Posted: 08/17/2006, 6:04 AM

hola maestros tengo dos imagenlink , necesito hacer que en funcion del usuario desaparesca uno .

lo extraño es que solo me funciona con uno.
pongo en el imagenlink1
dentro de berofeshow del mismo imagenlink1
if (CCGetDepto()=='30')
$Component->Visible = false;

funciona todo ok.

ahora si pondo otro usando la misma manera pero en imagenlink2 dentro del beforeshow del imagenlink2
-no funciona el imagenlink1 ni imagenlink2

if (CCGetDepto()=='30')
$Component->Visible = false;


alguna idea de que puede ser.?
nota los dos tienen visible=dinamic
un saludo
lvalverdeb

Posts: 299
Posted: 08/18/2006, 9:45 AM

Debe ser algun error en la función CCGetDepto(). Ya probaste algo como:

  
$Component->Visible = (CCGetDepto() !== 30);  


_________________
lvalverdeb
CR, GMT-6
XAMPP/Ubuntu/CCS3.2/4
View profile  Send private message

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.

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.