If you post your code that is sending the value to this code you can probably get an answer quicker, but I'll take a guess - The form sending this probably has a variable name type instead of Type.
Edit: Another guess might be that the value being sent to this code is business/personal instead of Business/Personal.
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???
Last edited by mab; 10-05-06 at 11:04 PM.
|