bb.donnay-software.com

Donnay Software Web Forums
It is currently Sun Sep 15, 2019 2:59 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Speed of cjReportControl
PostPosted: Wed Aug 19, 2015 1:40 am 
Offline

Joined: Thu Jan 28, 2010 1:22 am
Posts: 813
Location: Sijsele, Belgium
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.

_________________
Best regards,

Chris.
www.aboservice.be


Top
 Profile  
 
PostPosted: Wed Aug 19, 2015 1:49 am 
Offline
User avatar

Joined: Thu Jan 28, 2010 12:59 am
Posts: 745
Location: Berlin, Germany
As I understand the docs, this would conflict with the "Virtual Mode", which is needed for large datasets. :?

_________________
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."


Top
 Profile  
 
PostPosted: Wed Aug 19, 2015 2:55 am 
Offline

Joined: Thu Jan 28, 2010 1:22 am
Posts: 813
Location: Sijsele, Belgium
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.

_________________
Best regards,

Chris.
www.aboservice.be


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group