Print Page | Close Window

Problem in load ex-version column layout

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


Topic: Problem in load ex-version column layout
Posted By: fatbone77
Subject: Problem in load ex-version column layout
Date Posted: 19 January 2007 at 8:10pm
Previously, I have a reportcontrl with 20 columns.  recently, i remove 2 columns from it. when it loads column layout from previous saved layout file, the reportcontrol throw a internal exception, which been capture inside CXTPReportControl::DoPropExchange.

after that, move mouse or any operation on this reportcontrol will cause crash.





Replies:
Posted By: fatbone77
Date Posted: 19 January 2007 at 8:11pm
By the way, i'm using V10.4


Posted By: sserge
Date Posted: 16 April 2007 at 5:21am
The problem is that columns data is stored and loaded using column index.
For future versions we'll add a new property to CXTPReportColumn:

CString m_strInternalName;


If it is not empty, it is used to load column data. This allows to skip column data easily if it is removed.
 
This will be available in versions after 11.1

--
WBR,
Serge



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