Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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 19:56 Go to next message
Philip Verdieck is currently offline Philip VerdieckFriend
Messages: 2
Registered: August 2016
Junior Member
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 16:10 Go to previous message
Philip Verdieck is currently offline Philip VerdieckFriend
Messages: 2
Registered: August 2016
Junior Member
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: Mon Dec 16 13:44:02 GMT 2019

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

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

Back to the top