08-09-2010, 03:18 PM
Hi Ritesh,
Lets assume ur password: pwd=venk1a;?
You can do validation for this:
1. Password should be 8 characters
2. To fetch the fiftch character use Mid function
and pass "IsNumeric" function to find whether it is Numeric or Not
3. Right(pwd,1)<> "%" or "^" and Left(Right(pwd,2),1)<> "%" or "^".
Please let me know for further clarification.
Venkat.Batchu
Lets assume ur password: pwd=venk1a;?
You can do validation for this:
1. Password should be 8 characters
Code:
If len(pwd)=8 Then
Pass
Else
Fail
End If
2. To fetch the fiftch character use Mid function
and pass "IsNumeric" function to find whether it is Numeric or Not
3. Right(pwd,1)<> "%" or "^" and Left(Right(pwd,2),1)<> "%" or "^".
Please let me know for further clarification.
Venkat.Batchu