CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Field Level Control

Print topic Send  topic

Author Message
jkovar

Posts: 2
Posted: 01/14/2006, 7:42 AM

Can CCS support field level access control.

I need my users to see all the fields on the form but limit access to edit certain fields to authorized security level.

For example, all users can see a task and date completed but the date completed can only be updated by the user assigned to that task.

I am developing a web database application and I am comparing different tools and was wondering of CCS could handle this task (without too much custom coding).

Thanks in advance for responses.

View profile  Send private message
peterr


Posts: 5971
Posted: 01/14/2006, 2:33 PM

Yes, you can usually hide a field based on security level with one line of code, maybe depending on the programming language.
You can also have 2 fields on a page, updateable and not updateable, then hide the one you don't want to show.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Benjamin Krajmalnik
Posted: 01/16/2006, 12:11 PM

Peter,

Only caveat I have experienced is that if you hide an entry/text control, if
it is an update form and you submit it you lose the value.
The solution in these situations is to create sessio variables which store
the values in the "BeforeShow" event, and restore in the "Validate" event if
the values are missing.

peterr


Posts: 5971
Posted: 01/16/2006, 12:59 PM

Oops, I forgot about this. This would add a few more lines of code to the above logic.
Other solutions may also include looking up the previous value using the CCDLookUp function, or creating 2 similar forms where each one is displayed to different user levels. The last one doesn't require any programming, but can be more messy if there is other logic that has to be maintained for both forms.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
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.