Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Problem in load ex-version column layout
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem in load ex-version column layout

 Post Reply Post Reply
Author
Message
fatbone77 View Drop Down
Newbie
Newbie


Joined: 10 January 2007
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote fatbone77 Quote  Post ReplyReply Direct Link To This Post Topic: Problem in load ex-version column layout
    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.


Back to Top
fatbone77 View Drop Down
Newbie
Newbie


Joined: 10 January 2007
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote fatbone77 Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2007 at 8:11pm
By the way, i'm using V10.4
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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
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.125 seconds.