Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Display table like report Post Reply Post New Topic
Author Message
akirax
Newbie
Newbie
Avatar

Joined: 08 Jun 2009
Location: Malaysia
Online Status: Offline
Posts: 4
Quote akirax Replybullet Topic: Display table like report
    Posted: 08 Jun 2009 at 3:12am

Hi all,

I am very new in crystal report, and this is my first post in this forum.Smile,.

I need to display data in table like format, in 4* 10 table format, so total 40 field need to be shown.
In my datasource, there are 10row * 4 columns data return, each row have day, month, year, minutes columns, and each row represent one id(id1->id10).
 
I had draw the table using line tool in crystal report, the problem now is how should i design my report to create only one data source, but display all data? shuld i use any select expert? i know i can create 10 datasource in this case:
select day, month, year, minutes from tbl where id = 1,  
select day, month, year, minutes from tbl where id = 2,
select day, month, year, minutes from tbl where id = 3,
select day, month, year, minutes from tbl where id = 4,
.
.
.
.
 
select day, month, year, minutes from tbl where id = 10
 
which i dont think is a good idea.
Anyone can help me? Your comments is highly appreciated.:)
 
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 08 Jun 2009 at 5:03am
Just place your fields in the details section and draw your table around those fields or use field borders to mimic a table. Add in your sort order using the sort expert.
IP IP Logged
akirax
Newbie
Newbie
Avatar

Joined: 08 Jun 2009
Location: Malaysia
Online Status: Offline
Posts: 4
Quote akirax Replybullet Posted: 08 Jun 2009 at 6:47pm
Hi DBlank, thanks for the fast reply.:). So do you mean that only 4 fields added to the detail section of Crystal Report? and each field contains 10 rows of data?
Appreciate your help.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 09 Jun 2009 at 6:50am
Based on your data description just placing the field in the detail should result in 10 detail rows appearing on your report.
Try it. Add a table field to the detail section and preview the report. You should see all 10 rows of your data appear. If not then your data is not as I understood it to be.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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.047 seconds.