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 -> General/Other

 Selecting Security Group from Listbox

Print topic Send  topic

Author Message
RoyBaird

Posts: 115
Posted: 04/06/2010, 5:19 AM

I have an application that allows for uploading of files (reports). I need to set the security for viewing of each in the setup. I want to use a listbox showing the group security description so the admin will know which one to select. The groups are not stored in a table that I can locate, so I am assuming they are in the 'common' file. How do I retrieve them into the listbox?

This is PHP code.

Thanks,
_________________
Roy
View profile  Send private message
damian

Posts: 838
Posted: 04/06/2010, 5:38 AM

set data source as "list of values" and manually type them in....

_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message
RoyBaird

Posts: 115
Posted: 04/06/2010, 7:21 AM

That I know.

BUT if there are changes to the groups, then the page has to be changed too. I was trying to avoid this step. I found where the data is stored. I was hoping the same function CCS uses in the settings tab was available for use by developers.
_________________
Roy
View profile  Send private message
Waspman

Posts: 948
Posted: 04/06/2010, 8:36 AM

If the groups change it wouldn't make any difference unless a users was assigned that level of access? So something would have to be updated any road? Use an Access level/GroupID table with descriptions etc.
_________________
http://www.waspmedia.co.uk
View profile  Send private message
damian

Posts: 838
Posted: 04/06/2010, 2:01 PM

i usually use a security table too...
_________________
if you found this post useful take the time to help someone else.... :)
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.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.