CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Security on form components

Print topic Send  topic

Author Message
Mike
Posted: 07/05/2002, 11:10 AM

Is there a way to create security for record components, such as delete or submit buttons? I need to give some users access to these types of buttons, but restrict access for other users. Also, is there a way to change a form field based on a user ID? For example, user 1 would see the first field of a form as a label and user 2 would see the same field as a text box. I would like to do this without creating multiple versions of the same basic page, if possible.

Thanks
Brent
Posted: 07/05/2002, 11:44 AM

Is this for CC or CCS?
Mike
Posted: 07/05/2002, 12:12 PM

This is for CCS.
Mike
Posted: 07/05/2002, 1:16 PM

OK, I just found the security settings in the propertis box for objects. If anyone has any suggestions for changing field types based on a user ID, I would be very grateful.
Nicole
Posted: 07/08/2002, 12:08 AM

Mike,
the workaround is to create several controls for the one field and then show/hide them depending on user rights.
Refer to the following thread for sample code (hide the line of the form):
ASP
http://www.gotocode.com/disc_viewt.asp?mid=12551&

   


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.