Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 18th, 2003, 02:20 PM
Authorized User
Join Date: Sep 2003
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dynamic column names in crystal reports

Hi everyone,

I have been trying to get this to work for weeks now. I have seen many other people with the same query. I do not know if anyone has managed to solve it.

I want to pass a Dataset/Datatable/Datagrid to a crystal report viewer and show the contents. However, I do not want to define the schema for the report as it can vary according to the user choice. I want Crystal reports to determine the schema from the Dataset. Is that at all possible? If it is not then I think this is a serious deficiency on the part of the report library. The reports are hardly ever based on such strongly typed data.

Any help would be greatly appreciated.


Old December 13th, 2004, 01:31 PM
Registered User
Join Date: Dec 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

I also have the same problem.

I have a stored procedure that takes a parameter and returns a dataset. This dataset should be bound to the crystal report. The report has one column that can be fixed at design time but the remaining columns are dynamic in number depending on the parameter passed to the stored procedure. Also i would like the columns to be skinny and thin and oriented 90 degrees.

Is there anyway this can be done.

Any help is greatly appreciated.

Old February 23rd, 2005, 07:40 PM
Registered User
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I also have this problem please reply if you have got the solution.
pankaj verma

Old January 19th, 2009, 02:55 AM
Registered User
Join Date: Jan 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Any solutions yet?


I Have the same issue here...its been months now and yet, i haven't found any solution for this.

I have these format to populate
Service | Factor | Hotel ABC | Hotel PQR | Hotel STU | Hotel XYZ
---------- | ---------- | -------------- | -------------- |--------------- | ------------
Room | 5 | 2.5 | 1.23 | 4.0 | 5
....................|............|................ |.................... .|...... ..........|. ..... ......... .......
Other | 2 | 2 | 3 | 4 | 4

Hotel ABC, Hotel PQR, Hotel STU, Hotel XYZ, Hotel bla bla bla is dynamic. its not fix. it can be any names.

I'm having issue to populate this report.
I can't do Crosstab report because there are few calculations for each row/column.

Is tthere any master out there can help me?
really appreciate all updates from you all.


Last edited by azrey; January 19th, 2009 at 02:59 AM..

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Links in Crystal Reports (VS.Net 2005) harini311 Crystal Reports 0 September 9th, 2006 10:44 PM
Dynamic columns in Crystal Reports ejan Crystal Reports 2 August 10th, 2006 04:07 AM
Crystal Reports with dynamic XML kncd2005 Crystal Reports 0 May 27th, 2005 12:11 PM
Crystal Reports Dynamic binding field objects velkropie Crystal Reports 0 December 1st, 2004 12:21 AM
Crystal Reports Dynamic binding field objects velkropie BOOK: Professional Crystal Reports for VS.NET 0 November 30th, 2004 11:35 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.