|
-
Nov 10th, 2003, 11:20 AM
#1
Thread Starter
Frenzied Member
crystal reports
I'm running a CR through my app. On the left hand side of the report is a list of the fields I GROUP BY, which is a credit card number. I need to either remove the listing or mask some of it...is this possible?
thanks.
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
Nov 11th, 2003, 02:25 PM
#2
Addicted Member
You can use formula to e.g. cut some chars and replace them with '*'. In your CR insert formula field and add something like this:
Dim strCred as string
strCred=CStr ({Table.cred_number}) 'credit number field
strCred=Left (x,Len(strCred)-5) & "*****"
regard j
-
Nov 12th, 2003, 10:04 AM
#3
Thread Starter
Frenzied Member
am I close?
VB Code:
Dim strCred As String
strCred=CStr ({pcms_pcard_transaction_header.credit_card_no}) 'credit number field
strCred = Left(x, Len(strCred) - 5) & "*****"
rpt.DataDefinition.RecordSelectionFormula.Insert(strCred)
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
Nov 12th, 2003, 02:59 PM
#4
Addicted Member
You can add formula field in crystal report designer (fields explorer - formula fields) and then add code for that field.
regard j
-
Nov 14th, 2003, 01:00 PM
#5
Thread Starter
Frenzied Member
sorry, didn't explain my problem to well. I was able to mask the credit card number in the report. What I need to do is hide the grouptree or mask the card number in there. Is this possible?
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
Nov 15th, 2003, 12:39 PM
#6
Thread Starter
Frenzied Member
I solved the this problem by masking the card numbers in the group tree. I did this by right clicking on the group, selecting change group, options, then selecting "use formula as group name". I then wrote a formula to mask the first 12 didgits.
thanks for your help
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
Feb 18th, 2006, 05:56 AM
#7
Addicted Member
Re: crystal reports
on the upper right or top side there is the trr button if u can see then click that button and see if that tree is removed
then just see the properties of contral and turn it off
( i mean the option in contrrol)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|