how to create user rights for different forms?

Joined
Jun 9, 2013
Messages
6
Programming Experience
3-5
[FONT=&quot]Hi[/FONT]
[FONT=&quot]I have windows form.in that[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]I have table tbluseraction[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]actionid actionname[/FONT]
[FONT=&quot]------------------------- [/FONT]
[FONT=&quot]1 read[/FONT]
[FONT=&quot]2 write[/FONT]
[FONT=&quot]3 delete[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]I have another table tbluserform [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]formid formname[/FONT]
[FONT=&quot]--------------------------------- [/FONT]
[FONT=&quot]1 frmbackup[/FONT]
[FONT=&quot]2 frmrestore [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Now i want to give premission to each form.I have check box for every permission [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]after giving rights it is saved in table as[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]formid actionid[/FONT]
[FONT=&quot]1 1 [/FONT]
[FONT=&quot] 1 2[/FONT]
[FONT=&quot]2 1[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] I have attached screen shot and source code and Please help me[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Thanks[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]chandran [/FONT]
 

Attachments

  • iss.png
    iss.png
    44.1 KB · Views: 54
  • code.txt
    4.1 KB · Views: 51
Back
Top Bottom