A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

password field and lower case



 
 
Thread Tools Display Modes
  #1  
Old April 18th, 2007, 01:42 PM posted to microsoft.public.access.forms
[email protected]
external usenet poster
 
Posts: 34
Default password field and lower case

is there a way to force a password file to be lower case on input so the
expression is forced lower case and masked?
--
Mark Matzke
  #2  
Old April 18th, 2007, 03:34 PM posted to microsoft.public.access.forms
Bob Landers
external usenet poster
 
Posts: 23
Default password field and lower case

To get the password masked, just insert a textbox in your form and set its
"input mask" property to "password" (look under the "All" tab in the
properties box - the input mask is the fifth line down. You will need to
press the "..." to bring up the password option).

To force the values to lower case just use the LCase function. Eg if your
textbox is called txtpassword, just use something like this:

Dim strPassword As String
strPassword = LCase(Me.txtpassword.value)

Then you can do whatever you want with the contents of the strPassword
variable.

Hope this helps.


Regards
Bob


" wrote in
message ...
is there a way to force a password file to be lower case on input so the
expression is forced lower case and masked?
--
Mark Matzke



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:29 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.