Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Variable problem

Author  Topic 

Rita Bhatnagar
Posting Yak Master

172 Posts

Posted - 2001-05-31 : 17:47:11
In vb form we have three rights
Rights value
a 1
b 2
c 4
I want to give rights to people.They can have total of any combination of the rights
like 5,3,7 etc.
When i fetch the records back my variable is the total. From that total i need to figure out what right the people will have.
Any suggestions ?
Thanks.

   

- Advertisement -