-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Try using this in the query that supplies the report:
SELECT "****-****-****-" & Right(CreditCard,4) As Crypt_CC
FROM TableName
WHERE ....
The use of the mask "****-****-****-" and the Right() function on the
CreditCard column will produce your required results. This assumes
the CC is stored as "####-####-####-####", i.e., it has the dashes
between the number groups and each number group has 4 numbers.
I suggest you put the formatting in the query because it hides the
number at the source (server) rather than in the report (which someone
may be able to open in design view, run the report's query & see the
real CC #.
HTH,
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBQDZNJIechKqOuFEgEQKdPwCfQP69cjNiIA6f6Y0Yu7JhlEoPwTkAn2kb
fTtUhaR+E6wW55EmYU1l5DTh
=hroZ
-----END PGP SIGNATURE-----