Dear All,
I've been tasked with updating an Enumeration in a vb.net 2003 solution. The existing enum looks as follows
A = 48
B = 49
However, the requirement is now that each item can result from multiple values. For example:
A = 48 or 65 or 66
B = 49 or 67
I have tried amending the enum as above, but it doesn't evaluate correctly and returns nothing.
I am not free to dictate the numbers selected on as they're bound to table values.
Does anyone know if it is actually possible to do this with an enumeration, or am I going to have to re-write the logic for this task?
Any help would be much appreciated.
Regards
Ben Cooper
I've been tasked with updating an Enumeration in a vb.net 2003 solution. The existing enum looks as follows
A = 48
B = 49
However, the requirement is now that each item can result from multiple values. For example:
A = 48 or 65 or 66
B = 49 or 67
I have tried amending the enum as above, but it doesn't evaluate correctly and returns nothing.
I am not free to dictate the numbers selected on as they're bound to table values.
Does anyone know if it is actually possible to do this with an enumeration, or am I going to have to re-write the logic for this task?
Any help would be much appreciated.
Regards
Ben Cooper