943,997 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 6979
  • VB.NET RSS
Dec 9th, 2004
0

Problems on making Crystal Report

Expand Post »
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 :-|
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
miyakejess is offline Offline
3 posts
since Aug 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Expert in Class Creation & Implementation Needed
Next Thread in VB.NET Forum Timeline: VB.Net experts: I need some help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC