So I have an MS Access db application that I'm working on. The part that i need help with, is validating password strings for the new user function. Simply, the add user form passes all the info to the SQL db. I ran into the problem of password strings containing symbols not wanting to work at all, though it would pass to the db just fine, wouldn't allow logging in with them. Also, if the initial character was a number, it didn't like that either. As long as these two conditions weren't there, then it works perfectly. Creates the user and their credentials are ready for use in <30s. But if it starts with numbers or contains symbols - merp. no work.
So, the thing that I'm going for is one of two option; A) a functioning string validation technique that find prohibited characters in string, and checks to make sure the first char is alpha only; B) a way to get it to accept any password regardless of what characters it contains (no nulls and 6+ char).
I started trying us instr and like in if statements, but neither of them works right. They don't stop the process or even display their msgbox correctly. Even though they should, they don't.
Anyway, all help is appreciated.