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  

mask employee number in text box



 
 
Thread Tools Display Modes
  #1  
Old December 8th, 2009, 01:45 PM posted to microsoft.public.access.forms
Song Su[_4_]
external usenet poster
 
Posts: 31
Default mask employee number in text box

I have an unbound txt control on a form to ask user to type employee number.
After that, I'll use that number to retrieve reports.

On AfterUpdate event of that unbound control, how can I mask the employee
number to ****** and still can refer to it?

Thanks.

  #2  
Old December 8th, 2009, 02:19 PM posted to microsoft.public.access.forms
Douglas J. Steele[_3_]
external usenet poster
 
Posts: 3,143
Default mask employee number in text box

Private Sub txtEmployeeNumber_LostFocus()
Me!txtEmployeeNumber.InputMask = "Password"
End Sub

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Song Su" wrote in message
...
I have an unbound txt control on a form to ask user to type employee
number. After that, I'll use that number to retrieve reports.

On AfterUpdate event of that unbound control, how can I mask the employee
number to ****** and still can refer to it?

Thanks.



  #3  
Old December 8th, 2009, 04:16 PM posted to microsoft.public.access.forms
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default mask employee number in text box

Set Input Mask to Password.
--
Build a little, test a little.


"Song Su" wrote:

I have an unbound txt control on a form to ask user to type employee number.
After that, I'll use that number to retrieve reports.

On AfterUpdate event of that unbound control, how can I mask the employee
number to ****** and still can refer to it?

Thanks.

 




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 07:42 AM.


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