Source language: Translate to:

How can I make a case sensitive password??

Questions or information that don't quite fit anywhere else

Moderator: Neosoft Support

How can I make a case sensitive password??

Postby stagmannz » Thu Dec 01, 2011 1:06 pm

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!
:?
stagmannz
 
Posts: 15
Joined: Tue Feb 22, 2011 11:34 pm

Postby Neosoft Support » Thu Dec 01, 2011 4:46 pm

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:

Code: Select all
If "![TextEntry1]" "=" "![TextEntry2]"
  SetVar "[Result]" "True"
Else
  SetVar "[Result]" "False"
EndIf


or

Code: Select all
If "![Password]" "=" "!applesauce"
  SetVar "[Result]" "True"
Else
  SetVar "[Result]" "False"
EndIf


Without the exclamation points the comparison is case insensitive. With the exclamation points the comparison is case sensitive.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5603
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby stagmannz » Thu Dec 01, 2011 5:20 pm

Just like that too easy!! Thanks heaps
stagmannz
 
Posts: 15
Joined: Tue Feb 22, 2011 11:34 pm


Return to Misc. Questions and Information

Who is online

Users browsing this forum: No registered users and 1 guest

cron