Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - I Can't edit in report control
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

I Can't edit in report control

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


Joined: 27 July 2009
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote lyl0625 Quote  Post ReplyReply Direct Link To This Post Topic: I Can't edit in report control
    Posted: 28 July 2009 at 2:41am
I have a report control in a CXTPReportView,
 

pCol->SetEditable(TRUE);

m_Report.AllowEdit(TRUE);

m_Report.Populate();
 
 
But, when I click on a cell, it looks like it starts to edit, but when I press a key I always get an exception here:
 
void CXTPReportInplaceEdit::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)

{

CXTPReportControl* _pControl = pControl;

ASSERT(_pControl);

Because pControl is NULL
 
I don't know what's going on?
 
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 28 July 2009 at 11:32am
duplicated post (About ReportControl cannot edit;)
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.152 seconds.