Masking data in a report

Johnny Drama

In need of beer...
Local time
Today, 12:57
Joined
Dec 12, 2008
Messages
211
Hello all:

I just wondering if anyone know if it's possible to mask data in a report? I have a report that contains a field for an ID number. Depending upon who is receiving the report only a partial ID number can be shown. Example: Instead of showing ID#: 123456 the report can only show ***456.

Any thoughts on how this could be done, if can be done?

Thanks in advance for you time. Using Access 2007 and 2010,
 
Just create a New column in the Report's record source, something as simple as,
Code:
NewID : "***" & Right(yourIDFieldName, 3)
Then set this new column as the control source for the report's ID column.
 
You, sir, are a gentleman and a scholar...not necessarily in that order. ;) Worked like a champ. thanks!
 

Users who are viewing this thread

Back
Top Bottom