Excel and CSV Exporting Issue
Posted: Mon Mar 22, 2010 7:12 pm
I have a few reports to export to Excel and CSV. The format of the reports is as follows:
Report Title Band:
- 2 TextBoxes with the header
HeaderBand:
- Headers for each and every column that I need to display in the databand
Data Band:
- Values being populated from the datasource. The datasource is a stored procedure
Report Summary:
- Textboxes with calculated values based on what the databand has to display
Page Footer Band:
- Page number and just a disclaimer.
Excel and CSV Requirement:
- Export the Report Title without the formatting (once)
- Export the HeaderBand without the formatting (once)
- Export the Values in the databand without the formatting
- Export the calculated textboxes without the formatting
- Export the Page footer without the formatting (once)
- No page breaks or empty columns in the exported file
Problem:
- Exported Excel doesn't export the Report summary band
- Exported CSV and Excel exports with formatting (How can formatting be saved if it's a csv?)
- Export Excel with only the Report Header and no footer.
Can someone help me with this?? Why is it so hard to just export the data unformatted by default without empty columns between 2 values? This is an amazing software but can you please provide more options before exporting it off or perhaps ways to change the settings so that those things don't happen? Currently you have options to export data only or use one page header and footer but more options are required to overcome the issues that I am talking about.
Solution:
- Another property in each and every element which says "Exportable = True/False" and a sub property of Exportable which is "Formatted = True/False".
- Don't export the spaces between 2 data values as empty columns, just another cell would do.
Report Title Band:
- 2 TextBoxes with the header
HeaderBand:
- Headers for each and every column that I need to display in the databand
Data Band:
- Values being populated from the datasource. The datasource is a stored procedure
Report Summary:
- Textboxes with calculated values based on what the databand has to display
Page Footer Band:
- Page number and just a disclaimer.
Excel and CSV Requirement:
- Export the Report Title without the formatting (once)
- Export the HeaderBand without the formatting (once)
- Export the Values in the databand without the formatting
- Export the calculated textboxes without the formatting
- Export the Page footer without the formatting (once)
- No page breaks or empty columns in the exported file
Problem:
- Exported Excel doesn't export the Report summary band
- Exported CSV and Excel exports with formatting (How can formatting be saved if it's a csv?)
- Export Excel with only the Report Header and no footer.
Can someone help me with this?? Why is it so hard to just export the data unformatted by default without empty columns between 2 values? This is an amazing software but can you please provide more options before exporting it off or perhaps ways to change the settings so that those things don't happen? Currently you have options to export data only or use one page header and footer but more options are required to overcome the issues that I am talking about.
Solution:
- Another property in each and every element which says "Exportable = True/False" and a sub property of Exportable which is "Formatted = True/False".
- Don't export the spaces between 2 data values as empty columns, just another cell would do.