•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 361,569 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,024 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser:
Views: 5436 | Replies: 0
![]() |
•
•
Join Date: Aug 2004
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
Hi all,
I want to make a report that the column headers are getting from one of the
field in the dataset.
Example, dataset ds has table A with 4 columns, col1, col2, col3, col4
I would like to use col1 values to be the column headers of the report,
the returned dataset, ds has 4 records, and those values in col1 are
("AB","AC"," AD" and "AE")
so the reports will become
AB AC AD AE (distinct values of Col1 return from ds)
XX XX XX XX
XX XX XX XX
XX XX XX XX
XX XX XX XX
............
So I am thinking to get the distinct values of Col1 from the return dataset,
ds.
But I don't want to do it in the SQL, so how can I do it in the Crystal
Report?
I want to fill the returned data from ds following the headers come from col1
those data will be filled according to the value of col1 in each records,
says.
records 1 {AB, 123, ..., ...}
records 2 {AD, 999,...,...
the reports become,
AB AC AD AE
123
999
Or is there any other Good ideas to do it??
Thanks ~
Miyakejess :-|
I want to make a report that the column headers are getting from one of the
field in the dataset.
Example, dataset ds has table A with 4 columns, col1, col2, col3, col4
I would like to use col1 values to be the column headers of the report,
the returned dataset, ds has 4 records, and those values in col1 are
("AB","AC"," AD" and "AE")
so the reports will become
AB AC AD AE (distinct values of Col1 return from ds)
XX XX XX XX
XX XX XX XX
XX XX XX XX
XX XX XX XX
............
So I am thinking to get the distinct values of Col1 from the return dataset,
ds.
But I don't want to do it in the SQL, so how can I do it in the Crystal
Report?
I want to fill the returned data from ds following the headers come from col1
those data will be filled according to the value of col1 in each records,
says.
records 1 {AB, 123, ..., ...}
records 2 {AD, 999,...,...
the reports become,
AB AC AD AE
123
999
Or is there any other Good ideas to do it??
Thanks ~
Miyakejess :-|
Jess Miyake
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb VB.NET Marketplace
- Crystal report in vb.net, printing problems (VB.NET)
- How can I call Crystal Report from VB 6.0 ? (Visual Basic 4 / 5 / 6)
- crystal report related.........simple one......Please take 2 min to read this... (VB.NET)
- Crystal report problems (ASP.NET)
- Problem with Crystal Report in ASP.NET (ASP.NET)
- Error while declaring Crystal Report Object (ASP.NET)
Other Threads in the VB.NET Forum
- Previous Thread: Expert in Class Creation & Implementation Needed
- Next Thread: VB.Net experts: I need some help


Linear Mode