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 -> ASP

 How to hide/show/update a field by security level ?

Print topic Send  topic

Author Message
crpav

Posts: 3
Posted: 10/29/2004, 8:01 AM

Hello,

I want to control the display of some fields in a record form,
using a security level table.
If the user has level 1, the field must be hidden (visible=false?)
If level 2, the field must be shown, but cannot be updated (label?)
If level 3, the field must be updateable (listbox, textbox, etc.)

How will be the most simple and effective way to do this ?

Thank you !

Charlie

View profile  Send private message
mrachow


Posts: 509
Posted: 10/31/2004, 12:27 PM

An idea.

Place a label beside a textfield for every one of your fields.
Level 1: hide both
Level 2: Hide textbox
Level 3: Hide Label

Disadvantage: You have empty cells at your record form for level 1.
I remember that I have seen examples for removing empty columns but I think it was not that easy.

Or you would create a different form for level 1.
Level 1: Hide form 2
Level 2,3: Hide form 1 plus behave like above.

Regards,
Michael
_________________
Best regards,
Michael
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.

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.