You could create methods that return different values based upon the input, but you still need if statements to do that. Would it be possible for me to see what you have? It would be much easier for me to help.
Reputation Points: 533
Solved Threads: 53
Senior Poster
Offline 3,593 posts
since Aug 2007