Posted 14 September 2017, 6:52 pm EST
[activereports_archive]This is how it works:
I have service running on a server machine that returns an AR report on the request from the client machine.
The client machine retrieves the report and loads it in a SectionReport.
Dim rpt As New GrapeCity.ActiveReports.SectionReport
…some code
rpt.Document.Load(ms)
Me.Viewer1.Report = rpt
That works fantastic and the user is presented with a beautiful report perfect for printing.
However, here is the problem. The user wants to move the numbers over to excel so that the person can work on the data.
For that, we have the GrapeCity.ActiveReports.Export.Excel.Section.XlsExport. The problem is all the unwanted “things” that is also put in the excel sheet. You have unwanted columns, headers, footers pagination and so on. So the user has to spend considerable time cleaning up the excel sheet to use the data. In addition, it has to be repeated every time.
My suggestion is to give us access to the numbers and data inside the report document so that we can write our own export. Something like this:
For Each page As Page In rpt.Document.Pages
For Each section As Section In page.Sections
For Each row As Row In section.Rows
For Each col As Column In row.Columns
...get the data
Next
Next
Next
Next
Is that possible? Can someone from C1 comment on this?
I have also written a suggestion feature request.
Thanks,
Wilfred[/activereports_archive]