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 / Reports / Printing / December 2005

Tip: Looking for answers? Try searching our database.

how do I show part of a field on a report in access?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Randy - 07 Dec 2005 23:38 GMT
I use social security numbers in my database.  I want to show only the last 4
digits of the number on my reports for security reasons.  How do I?
Duane Hookom - 08 Dec 2005 02:25 GMT
Right([ssn],4)

Signature

Duane Hookom
MS Access MVP
--

>I use social security numbers in my database.  I want to show only the last
>4
> digits of the number on my reports for security reasons.  How do I?
Randy - 08 Dec 2005 14:54 GMT
Thanks.  Where should I place this, in the report or query or what?  I have
tried several locations and it isn't working.

> Right([ssn],4)
>
> >I use social security numbers in my database.  I want to show only the last
> >4
> > digits of the number on my reports for security reasons.  How do I?
Duane Hookom - 08 Dec 2005 18:12 GMT
"it isn't working" does not tell us much.
You can set the control source of a text box to:
=Right([Your ssn field name],4)
Make sure the name of the control is not the name of a field.

Signature

Duane Hookom
MS Access MVP
--

> Thanks.  Where should I place this, in the report or query or what?  I
> have
[quoted text clipped - 6 lines]
>> >4
>> > digits of the number on my reports for security reasons.  How do I?
Randy - 08 Dec 2005 18:27 GMT
Thanks for the help.  I figured out where to put the info.

> "it isn't working" does not tell us much.
> You can set the control source of a text box to:
[quoted text clipped - 11 lines]
> >> >4
> >> > digits of the number on my reports for security reasons.  How do I?
 
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.