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: Rows to Columns without using cross-tab
Oldest Post First
Newest Post First
Author
Message
achandana01
Groupie
Joined: 20 Jul 2011
Online Status: Offline
Posts: 59
Topic: Rows to Columns without using cross-tab
Posted: 30 Jul 2014 at 10:46am
Hello,
I have data something like this
ID Line code
100 1 v120
100 2 v130
100 3 v14
100 4 v123
100 5 v11
100 6 v6
I want the data to be displayed like this
ID Code1 code2 code3 code4 code5 cod6
100 v120 v130 v14 v123 v11 v6
I grouped it by ID and used following formulas to display
@code1: if line = 1 then code
@code2: if line = 2 then code
@code3: if line = 3 then code
I only see the data for code1 and data is null n code2 & code3
I am not sure where it went wrong could someone please assist me.
THanks.
chand
IP Logged
kostya1122
Senior Member
Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Posted: 30 Jul 2014 at 12:33pm
you could try crosstab
place in into rows
line into columns
code into summarized as maximum
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.016 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.