L15a
August 1st, 2005, 10:18 AM
I'm using Crystal Reports 9, and I need to produce a report that only partly shows a clients credit card number, for card types equal to 'DC' (all other card types are to be suppressed).
The card numbers are 18 digits long, of which, I need to display the first and last four digits. i.e 1234xxxxxxxxxx1234
I'm quite new to crystal, and SQL code, and I'm trying to work it out. But without much sucess so far.
I'm probably way off the mark, but I was thinking along the following lines, in the 'Display String' editor:
if {ClientCreditCard_TB.Type_FD}='DC' then {ClientCreditCard_TB.CardNumber_FD}='****xxxxxxxxxx****'
Any chance of a clue from anyone.
Thanks
Lisa
The card numbers are 18 digits long, of which, I need to display the first and last four digits. i.e 1234xxxxxxxxxx1234
I'm quite new to crystal, and SQL code, and I'm trying to work it out. But without much sucess so far.
I'm probably way off the mark, but I was thinking along the following lines, in the 'Display String' editor:
if {ClientCreditCard_TB.Type_FD}='DC' then {ClientCreditCard_TB.CardNumber_FD}='****xxxxxxxxxx****'
Any chance of a clue from anyone.
Thanks
Lisa