If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Check boxes and user rights

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-17-04, 14:27
jp18923 jp18923 is offline
Registered User
 
Join Date: Mar 2004
Posts: 1
Check boxes and user rights

This may seem simple to someone but not to me!

I have a Delphi app and am using a Sybase DB. I have two combo boxes one of which contains all the groups in a database and one of which contains all the tables in the database.

There are four checkboxes on the form: Select, Insert, Update and Delete. There is also a button that when clicked will grant the group selected in the combo box rights on the table selected in the other combo box depending on which check box(es) is/are selected.

What I cannot figure out is how to automatically fill in the checkboxes by pulling the groups rights from the database. For instance, if a group and a table are selected and that group already has Select rights on that table, the Select check box should be filled in so the user will know that group already has select rights.

Please help or offer advice!

Thanks! )
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On