A question about Records Deleting In Report |
Post Reply |
Author | |
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
Posted: 26 October 2016 at 6:15am |
Hello,
For millions records we advise to use virtual mode in ReportControl. Regards, Oleksandr Lebed |
|
linyilong
Newbie Joined: 17 October 2016 Location: China Status: Offline Points: 7 |
Post Options
Thanks(0)
|
I have three ways to clear records in report : CXTPReportControl m_report; 1 . m_report.GetRecords()->RemoveAll(); //but it can't release space 2.m_report.ResetContent(); 3. int RowNumAll = m_report.GetRecords()->GetCount(); // if (RowNumAll>0) { for (int i = 0;i<RowNumAll;++i) { CXTPReportRecord *pRecord = m_report.GetRecords()->GetAt(0); if (!pRecord) { return false; } m_report.RemoveRecordEx(pRecord); } } MY Computer config: (Processor: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 CPUs), ~3.6GHz, Memory: 8192MB RAM)
|
|
I am whatever
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |