p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Crystal Reports (http://p2p.wrox.com/forumdisplay.php?f=113)
-   -   Dynamic column names in crystal reports (http://p2p.wrox.com/showthread.php?t=6324)

pankaj_daga November 18th, 2003 02:20 PM

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.

Thanks,
Pankaj


pradeepac December 13th, 2004 01:31 PM

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.

Thanks
Pradeepa.

pankajverma_cs February 23rd, 2005 07:40 PM

I also have this problem please reply if you have got the solution.
pankaj verma
pankajverma_cs@yahoo.com


azrey January 19th, 2009 02:55 AM

Any solutions yet?
 
Hi,

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.

Thanks


All times are GMT -4. The time now is 04:08 PM.

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