Page 1 of 1

Speed of cjReportControl

Posted: Wed Aug 19, 2015 1:40 am
by skiman
Hi,

If you want to use the reportcontrol the best thing you can do is to disable the
// oReport:SetCustomDraw( xtpCustomBeforeDrawRow )

This slows down the reportcontrol. If this is disabled, the speed is very good, and the control can be used with big tables.

With the definition of a header array and putting the data in an array, you can create with a minimum of effort a very functional report control.

Re: Speed of cjReportControl

Posted: Wed Aug 19, 2015 1:49 am
by Tom
As I understand the docs, this would conflict with the "Virtual Mode", which is needed for large datasets. :?

Re: Speed of cjReportControl

Posted: Wed Aug 19, 2015 2:55 am
by skiman
Hi Tom,

I tested with a report of 15.000 lines, and it works without problem.

I will use the control to offer an easy way for subtotaling, moving columns, and printing the way the user wants it. The user can drag and drop columns, change order, change subtotalling, ...

I don't want to use this as a browse on large datasets.