Results 1 to 3 of 3
  1. #1
    wes9659 is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Apr 2014
    Location
    Dover, Ohio
    Posts
    88

    Social Security in Table and Reports

    Does anyone know how I can generate just the last 4 digits of the SSN need to be shown on the reports which are generated? For example if a SSN were: 123-45-6789 I would want the field to read ***-**-6789. I also would like to have actual row in table password protected on its own is this possible? Thanks Everyone for your time and consideration I this matter.

  2. #2
    John_G is offline VIP
    Windows XP Access 2003
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    Hi -

    For the display question, you could use something like "***-**-" & mid(ssn,8), which isn't using a mask, but looks like it is. It does assume that your SSN field is string type, with all values formatted the same way.

    As far as I know, you cannot apply a password to just one table row (what would it be based on?) using built-in MS Access features, but you might be able to use VBA to do it. It would depend on what the restriction was to do, i.e. change or view data.

    HTH

    John

  3. #3
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    "***-**-" & Right([ssnFieldName],4)

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Reports Security Protection
    By mussy in forum Security
    Replies: 3
    Last Post: 06-28-2013, 01:58 PM
  2. Replies: 3
    Last Post: 10-26-2011, 02:09 PM
  3. Using Social# as unique identifier
    By NEHicks in forum Database Design
    Replies: 3
    Last Post: 05-27-2011, 09:14 AM
  4. Split Database / Added Security - No Reports now
    By rodeoboy in forum Security
    Replies: 16
    Last Post: 02-11-2011, 10:57 AM
  5. Show age from social security number
    By carstenhdk in forum Forms
    Replies: 5
    Last Post: 05-27-2010, 04:37 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums