I can manually enter the enum name 'enum_CRMRoleType'. I then rebuild the partial class but when I rebuild the project I get an error 'Type enum_CRMRoleType' is not defined.
I haven't created an enum in a while but it did work a while back.
Any ideas as to why it can't find my enums?
Thanks,
Tim
One other strange thing I noticed with custom data types. Select Case doesn't seem to evaluate the data type. I had to change everything to If's. Have you every run across this before?
Thanks
Depends on the type of value you are testing on. If you are testing a reference type then you may have to use an if/elseif. However, if you use any type of value type (i.e. integer) then you can always go with select case.