Reports are slow with TClientDataSet (used as InMemory Table)
Hello,
normally the printing or the preview of a report which uses data from
NexusDB are fast.
But if I'm using TClientDataSet from Delphi XE5 then it is really slow.
77 records are printing/previewing in 15 seconds. I'm using
TClientDataSet only as InMemory Tables. LogChanges of TClientDataSet is
set to false. I have this problem in all reports where I'm using
TClientDataSet.
Any ideas why it is so slow? I think 77 records are not very many
records. 77 records from NexusDB are printing in 2 seconds.
Best wishes
Bernhard
normally the printing or the preview of a report which uses data from
NexusDB are fast.
But if I'm using TClientDataSet from Delphi XE5 then it is really slow.
77 records are printing/previewing in 15 seconds. I'm using
TClientDataSet only as InMemory Tables. LogChanges of TClientDataSet is
set to false. I have this problem in all reports where I'm using
TClientDataSet.
Any ideas why it is so slow? I think 77 records are not very many
records. 77 records from NexusDB are printing in 2 seconds.
Best wishes
Bernhard
This discussion has been closed.
Comments
Am 15.08.2014 16:12, schrieb Bernhard Roos:
ReportBuilder pipelines do not differentiate between TDataset
descendents. The DataPipeline makes generic calls to various TDataset
routines to access the data regardless which type (NexusDB,
TClientDataset, ADO, etc) is being used so this is likely an issue with
the TClientDataset or its manipulation.
Since you are using XE5, you might try using the FireDAC in-memory
dataset TFDMemTable and see if you get better results.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com