Print Page | Close Window

[CLOSED] Conflict using AddRecord & AddRecordEx

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=18176
Printed Date: 21 November 2024 at 11:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [CLOSED] Conflict using AddRecord & AddRecordEx
Posted By: apautrot
Subject: [CLOSED] Conflict using AddRecord & AddRecordEx
Date 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




Replies:
Posted By: ABuenger
Date Posted: 07 April 2011 at 1:16pm
Hi,

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

Andre



-------------
Codejock support



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net