Hi,
Hope i can get some good help around here, this has been bugging me for days!!!
I'm fairly new to crystal reports, i've done some simple reports and stuff in the past but now i've come up with a little problem that i can't get past.
In my database i store a integer value representing a bit value called "Products".
products could be of 5 types and each has these values for example:
prod1 = 1
prod2 = 2
prod3 = 4
prod4 = 8
prod5 = 16
Normally in my ASP.Net application i can perform an action like this to find out what products have been selected:
If (userProducts AND PROD1) then
selProd = "Prod1, "
End If
If (userProducts AND PROD2) then
selProd &= "Prod2, "
End If
If (userProducts AND PROD3) then
selProd &= "Prod3, "
End If
Etc...
I have tried to do this in a crystal reports function but just can't seem to do it....can anybody help me out?
Thanks!!
Paul