>What do programmers normally do when they have a case statement that's >30 or more items long? Previously I've just left it as a case statement >and spent the life of the project ticked at it. I don't let them in the code in the first place. A situation that would need a case/switch that's more than about 5 +/-2 item long gets redesigned during initial implementation. When I take over a code-base that has something like that in it, it gets redesigned the first time I have to touch that case statement. Don't live with broken windows. Regards, Harley Pebley