Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / April 2008

Tip: Looking for answers? Try searching our database.

Hiding certain characters in a text box (similar to password)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RussCRM - 01 Apr 2008 22:18 GMT
Is there a way to hide certain characters in a text box similar to
password?

For instance, I have a field with the social security number, but I
don't want the whole number visible.  Is there a way to hide all but
the last four digits?
fredg - 01 Apr 2008 23:31 GMT
> Is there a way to hide certain characters in a text box similar to
> password?
>
> For instance, I have a field with the social security number, but I
> don't want the whole number visible.  Is there a way to hide all but
> the last four digits?

Using an unbound copntrol,
=Right([SSN],4)
will show just the last 4 digits.

To display the SSN as XXX-XX-1234, with just the last 4 characters
readable, set the control source of an unbound text control to:
="XXX-XX-" & Right([SSN],4)

Signature

Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

Pete D. - 01 Apr 2008 23:50 GMT
Use something like MYTEXTBOX = "***-**-" & right([SSAN],4) instead of using
the field name alone.
> Is there a way to hide certain characters in a text box similar to
> password?
>
> For instance, I have a field with the social security number, but I
> don't want the whole number visible.  Is there a way to hide all but
> the last four digits?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.