I have a text box that user can enter any one character into. What I'm searching for is either for that character to be a "J" or "F". If a lowercase of either is entered, and errorprovider and messagebox spits out a message. If anything other than "J" or "F" is entered the same errorprovider and messagebox pops up. If the user puts in one of the two correct characters the errorprovider is cleared and all is happy in the world.
Everything I've tried has failed. I've tried <>, multiple strings, different values, If not =, and more. Any help would be appreciated.
Everything I've tried has failed. I've tried <>, multiple strings, different values, If not =, and more. Any help would be appreciated.