Skip to main content



      Home
Home » Archived » BIRT » Is there anyway to mask a field?(Mask Field Value SSN)
Is there anyway to mask a field? [message #1740441] Fri, 12 August 2016 15:56 Go to next message
Eclipse UserFriend
Its a common need to have a mask functionality so that not all of a fields value is displayed. Commonly, this is used to show only the last 4 digits of Social Security Number

Is there any way to do this in BIRT.

I tried the custom format codes, but it doesnt want to obscure portions of the data value.
Re: Is there anyway to mask a field? [message #1740650 is a reply to message #1740441] Tue, 16 August 2016 12:10 Go to previous message
Eclipse UserFriend
OK. I figured this out.
There are probably a bunch of ways to do this.
The easiest one I used was a CalcField (ComputedColumn)

DataType string
Expression "XXX-XX-"+row["SSN"].substring(5,9)



Previous Topic:Birt report - COUNTIF - count the number of times it matches a criteria
Next Topic:How to remove extra row after setting group outputting in Excel
Goto Forum:
  


Current Time: Tue Jul 15 19:55:39 EDT 2025

Powered by FUDForum. Page generated in 0.05735 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top