terpsichore
asked on
password validation in Access
Dear experts,
I need to validate that a password meets the following criteria - any help is appreciated!
=> Must be at least 8 characters, and include at least one of the following: numeric character, uppercase, non-alpha or punctuation (where not limited by the system)
Thank you -
I need to validate that a password meets the following criteria - any help is appreciated!
=> Must be at least 8 characters, and include at least one of the following: numeric character, uppercase, non-alpha or punctuation (where not limited by the system)
Thank you -
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I put this code in, but it did not do anything? I must have done something wrong
ASKER
out of curiosity - I was choking on this line using Regexp, any ideas what's wrong with this?
If Len(TestPw) < 8 Or RegExpFind(TestPw, "[^a-zA-Z0-9\!\@\#\$\%\^\&
' checkPwd = "Please fix: Password must be at least 8 characters, and include at least one of the following: numeric character, uppercase, and a non-alphanumeric character."
RegExpFind is a function by Patrick Mathews you may be familiar with... the fourth parameter = case-sensitive