Switch

M

melissa1005

Does anyone know of a switch that will only put in the last four digits of a
SSN, ie xxx-xx-1234?
 
G

Greg Maxey

Melissa

If the data source format is 123456789, it is relatively simple:
{QUOTE "XXX-XX-"{mergefield ssn \# x### }} or an SSN held as 12345678If the
format is 123-45-6789, it gets more complicated.{QUOTE "XXX-XX-"{SET
ID"{mergefield ssn}"}{SET
SSX{={=-{=-{ID}-ID}/2}-(({ID}*(-1)-{ID})*(-1)/2+{ID})}}{SSX \# 0000}}.
 
Top