Refresh CSV Data Source during execution

Stimulsoft Reports.NET discussion
Post Reply
GregLandryCHP
Posts: 4
Joined: Wed Mar 19, 2014 11:31 pm

Refresh CSV Data Source during execution

Post by GregLandryCHP »

Hello,

I have the need to generate CSV data to a predefined CSV file name (replacing the original) and then make use of same data in predefined CSV Data Source. What happens when I try this is the report always uses the original CSV data. I am assuming it is being read into memory on execution and never looking back.

Is there a way to force the report to refresh the CSV data at some point following the initial read? A code solution would be fine.

Thank you,
Greg Landry
GregLandryCHP
Posts: 4
Joined: Wed Mar 19, 2014 11:31 pm

Re: Refresh CSV Data Source during execution

Post by GregLandryCHP »

To clarify...the new CSV data is being generated within the same report in which it will be used. Before running, the data dictionary already has the CSV data source set up and is pointing to the file that will be overwritten during report execution.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Refresh CSV Data Source during execution

Post by HighAley »

Hello.

Could you send us a sample project where we could see how the CSV data is generated and how do you use it?

Thank you.
GregLandryCHP
Posts: 4
Joined: Wed Mar 19, 2014 11:31 pm

Re: Refresh CSV Data Source during execution

Post by GregLandryCHP »

Yes, let me get extraneous items removed and I will forward. Thank you.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Refresh CSV Data Source during execution

Post by Andrew »

Ok.

Waiting for the files.

Thank you.
Post Reply