R
Remy
I use bitmasks in tandem with MS SQL Server, used for access permissions but
also option lists.
I have used this for many years happily. I now have the situation were an
option list which was supposed to contain a few items (easily enumerated)
will potentially have to hold 100s of items.
My issue is that VBScript will not be able to operate on these large numbers
as they will be beyond any numeric type inherent in VBScript. I could use a
binary varchar in SQL to store values but have the problem of using bitwise
comparision in VBScript.
I'm sure there must be a way of checking sizes and cutting up the binary
into manageable chunks but I have no idea even how to attempt this.
I've read some stuff on SQL managing this type of thing but I need a VBS
solution.
All help is appreciated.
also option lists.
I have used this for many years happily. I now have the situation were an
option list which was supposed to contain a few items (easily enumerated)
will potentially have to hold 100s of items.
My issue is that VBScript will not be able to operate on these large numbers
as they will be beyond any numeric type inherent in VBScript. I could use a
binary varchar in SQL to store values but have the problem of using bitwise
comparision in VBScript.
I'm sure there must be a way of checking sizes and cutting up the binary
into manageable chunks but I have no idea even how to attempt this.
I've read some stuff on SQL managing this type of thing but I need a VBS
solution.
All help is appreciated.