CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Hiding the record form depending on security.

Print topic Send  topic

Author Message
saseow

Posts: 744
Posted: 09/23/2008, 5:55 AM

I have several grid and record forms where admins can edit the data. Instead of creating new grid forms without the record forms, is there any way I can hide the record forms depending on the security group of the user?

Thanks!
View profile  Send private message
cleyan


Posts: 136
Posted: 09/24/2008, 11:01 AM

in beforeshow of the record form

  
if (CCGetGroupID() <= levenIwant ){  
   $myform1->visible=false;  
}  
  

regards
_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net
View profile  Send private message
saseow

Posts: 744
Posted: 09/24/2008, 11:26 AM

Thank you so much Carlos! Very much appreciated.

Regards,

Trevor
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.