Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Technical Questions
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Technical Questions
Topic: remove the whole row of duplicated fields
Author
Message
bluem007
Newbie
Joined: 18 Jan 2012
Location: Philippines
Online Status: Offline
Posts: 7
Topic: remove the whole row of duplicated fields
Posted: 18 Jan 2012 at 4:27pm
Hi.
I really need some help on this.
Ex.
Fields: F1 F2 F3
A X 1
B X 1
B XX 1
C XXX 1
In F1 the duplicated field is 'B'
I need to remove the duplicated fields plus its whole row.
The preview will be like this:
Fields: F1 F2 F3
A X 1
C XXX 1
Is it posible in crystal report? Anyone could help me? Please... T_T
Edited by bluem007 - 18 Jan 2012 at 4:29pm
IP Logged
rkrowland
Senior Member
Joined: 20 Dec 2011
Location: England
Online Status: Offline
Posts: 259
Posted: 18 Jan 2012 at 11:34pm
The following assumes
F3
always equals
1
, it will need minor adjustments if that field contains different values.
Create a group on the
F1
field.
Now, goto
Report > Selection Formulas > Group...
Enter the following (Replace fields names so they're relevant to to your table)
sum({table.F3},{table.F1}) = 1
Regards,
Ryan.
IP Logged
bluem007
Newbie
Joined: 18 Jan 2012
Location: Philippines
Online Status: Offline
Posts: 7
Posted: 23 Jan 2012 at 9:57pm
It works. Thank you for your help. :)
Can I have a followup question? regarding again on the problem above.
How can I total or count each item.
Example
Group 1
F1 F2 F3
A X 1
C XX 1
Group 2
A X 1
C X 1
I need to display this:
Total
A X: 2
C XX: 1
C X:1
Thank yo again.
Edited by bluem007 - 23 Jan 2012 at 10:27pm
IP Logged
sgtjim
Newbie
Joined: 23 Aug 2011
Online Status: Offline
Posts: 32
Posted: 24 Jan 2012 at 6:00am
Try this:
http://www.crystalreportsbook.com/Forum/forum_posts.asp?TID=15430
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
BAEZL
© 2004-2026 Brian Bischof. All Rights Reserved.