Print Page | Close Window

CXTPReportControl::UpdateRecord problem?

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=14659
Printed Date: 15 November 2024 at 2:00am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPReportControl::UpdateRecord problem?
Posted By: littleameng
Subject: CXTPReportControl::UpdateRecord problem?
Date Posted: 30 June 2009 at 10:29pm
https://forum.codejock.com/member_profile.asp?PF=2198&FID=124 - znakeeye have found the problem, Now I also find this problem:
 
 
I also have problems with CXTPReportControl::UpdateRecord(), in XTP 12.0.1. After I have called it, I get a crash as soon as CXTPReportRecords::RemoveAll() is called.
 
Is this a known issue or am I doing anything wrong?
 
CMyRecord *pRecord = wndReport.GetRecords()->GetAt(0);
pRecord->DoStuff();
wndReport.UpdateRecord(pRecord, FALSE);
 
And later the report is re-populated, causing a crash:
wndReport.ResetContent();
 
 
If somebody has resolve the problem,  please tell me and help me!
Thanks



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