I've used Crystal Reports with .NET numerous times. Usually the report is predefined. However, I have a different requirement now.
I'm using Infragistics Ultragrid to display data. With this control the user can move columns around and change the sort. The user can also add grouping with this control by dragging a column to a grouping area. I have to admit it is a nice feature.
However, the issue is that the requirement is once the user is done moving columns, clicking on the column to sort however they want, possibly adding a grouping they want to print the result with Crystal Reports.
Can this be done dynamically?
Thanks
http://www.emoreau.com/Entries/Articles/2006/09/Feeding-Crystal-Reports-from-your-application.aspx
Crystal reports have the ability to sort data dynamically too. If the only requirement is to sort the data you can do this directly in the report. If you want also to filter the data then you need to use the grid and the report. If you change the order of the columns in the grid or add/remove columns, group data etc . this is not going to be transferred to the Crystal report. The report and the grid will use the same datasources but will have separate layouts.