Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Report Design
Crystal Reports Forum
:
Crystal Reports 9 through 2020
:
Report Design
Topic: Grouping
Oldest Post First
Newest Post First
Author
Message
brockloch
Groupie
Joined: 03 Oct 2010
Location: United Kingdom
Online Status: Offline
Posts: 76
Topic: Grouping
Posted: 13 Feb 2015 at 1:00am
I wonder if someone can help please.
I have a field in a database which contains data as follows:
"AB1235/AB1234"
"AB1235"
"AB1233/AB1235"
"AB1234"
I want to be able to group by each instance of ABxxxx.
I know I can split them at the "/" but can I then group as
"AB1233" = 1
"AB1234" = 2
"AB1235" = 3
Any help would be much appreciated.
Ed
brockloch
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 17 Feb 2015 at 4:02am
you would not be able to group on them because the data only existsw on one row and would only appear in the first group it matches to.
You could split it in a command or stored proc and union the data to create multiple rows.
IP Logged
brockloch
Groupie
Joined: 03 Oct 2010
Location: United Kingdom
Online Status: Offline
Posts: 76
Posted: 17 Feb 2015 at 11:06pm
Thanks again for your help I will try the command/union.
brockloch
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
This page was generated in 0.031 seconds.
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
CLICK PLAYS
|
COACH FORUMS
|
TROPICAL FISH
© 2004-2024 Brian Bischof. All Rights Reserved.