Hi, I am designing a database pub but cannot seem to figure out how to make a case sensitive password system.
I'm using database pro
I would really appreciate some help on this whether it be a code snippet or just a walk through.
Thanks!
How can I make a case sensitive password??
Moderator: Neosoft Support
-
- NeoSoft Team
- Posts: 5628
- Joined: Thu Mar 31, 2005 10:48 pm
- Location: Oregon, USA
- Contact:
You can use NeoBook's If action to compare two perform a case sensitive comparison of two strings. Just add an exclamation point "!" to the beginning of the two strings. For example:
or
Without the exclamation points the comparison is case insensitive. With the exclamation points the comparison is case sensitive.
Code: Select all
If "![TextEntry1]" "=" "![TextEntry2]"
SetVar "[Result]" "True"
Else
SetVar "[Result]" "False"
EndIf
Code: Select all
If "![Password]" "=" "!applesauce"
SetVar "[Result]" "True"
Else
SetVar "[Result]" "False"
EndIf
NeoSoft Support