Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - [CLOSED] Conflict using AddRecord & AddRecordEx
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closed[CLOSED] Conflict using AddRecord & AddRecordEx

 Post Reply Post Reply
Author
Message
apautrot View Drop Down
Groupie
Groupie
Avatar

Joined: 16 April 2009
Location: France
Status: Offline
Points: 18
Direct Link To This Post Topic: [CLOSED] Conflict using AddRecord & AddRecordEx
    Posted: 07 April 2011 at 5:44am
I have many troubles when mixing AddRecord & AddRecordEx. I discover that AddRecord is a lot faster than AddRecordEx ( ..., NULL ). But there is troubles when mixing them :

I have an ASSERT in CXTPReportRows::CompareRows2 :

if (pRecord1->GetIndex() == pRecord2->GetIndex())
{
ASSERT(FALSE);
return 0;
}

I also have visual bugs (rows not properly created) when using AddRecord, then AddRecordEx (with record used in AddRecord as parent) finished by a RedrawControl (faster than Populate when doing a small update to the record hierarchy that contains 10000+ items).

What is done in AddRecordEx ( ..., NULL ) that is not done in AddRecord ?
Is there a code example or a documentation to fastly update report content ?

I'm using XTP 15.01.


Win 7 x64
VS 2008
CJ 15.13

Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Direct Link To This Post Posted: 07 April 2011 at 1:16pm
Hi,

please post the code you use to populate the report control.

Andre

Codejock support
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.