Csv export settings in Exporting Event
Posted: Wed Jul 08, 2015 7:14 am
Hi Aleksey
I have come across a number of posts that talk about how to modify the SkipColumnHeaders property in the report code, but I need to be able to do it within the Exporting (or other) event of the Report.
I have tried to insert the following code into the Exporting event, but it generates an error when I run the report:
this.Export.StiCsvExportSettings.SkipColumnHeaders = true
I can't modify the report code (we don't provide the report code to our end-users to modify, they only have access to the visual designer) so need to be able to modify this particular setting within an event.
can you help?
thanks
Matt
I have come across a number of posts that talk about how to modify the SkipColumnHeaders property in the report code, but I need to be able to do it within the Exporting (or other) event of the Report.
I have tried to insert the following code into the Exporting event, but it generates an error when I run the report:
this.Export.StiCsvExportSettings.SkipColumnHeaders = true
I can't modify the report code (we don't provide the report code to our end-users to modify, they only have access to the visual designer) so need to be able to modify this particular setting within an event.
can you help?
thanks
Matt