StimulReport is trying to load all the data

Stimulsoft Reports.NET discussion
Post Reply
danielrail
Posts: 3
Joined: Mon Apr 30, 2007 2:20 pm

StimulReport is trying to load all the data

Post by danielrail »

Hi,

I'm currently developing an application that uses business objects, and when trying to open the report designer in runtime, StimulReport is trying to load all the data(over 400,000 records). And, that takes a long time, especially if someone is only interested to edit a report or even simply print a report that might only need 1 or 2 records. I'm using the latest version on .Net 1.1 with Delphi 2006 for .Net with ECO III. Also, the property CacheData is set to False.

Any ideas on what I can do to avoid this?

Daniel
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

StimulReport is trying to load all the data

Post by Edward »

You may use static property StiOptions.Dictionary.Enumerables.MaxLevel for limiting the nesting of the business objects.

When RegData is called then the report engine converts all business objects to DataSources and Relations between appropriate columns and all data is loaded in to the Dictionary.

But when you load into the StiReport instance a report template via Load() method, and not calling the RegData, then the report template may be edited without loading all data into the Dictionary, but with full representation of the scheme of the Data in the Dictionary.

Thank you.
Post Reply