Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Access violation getting record from row
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Access violation getting record from row

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


Joined: 18 February 2006
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote bobw Quote  Post ReplyReply Direct Link To This Post Topic: Access violation getting record from row
    Posted: 18 February 2006 at 1:20am

Using the XTP_NM_REPORT_SELCHANGED notification in the CXTPReportView class, I have no problem accessing the selected row pointer, but accessing the underlying record from the row is an access violation.

This occurs whether I access the row thru GetSelectedRows() or the  XTP_NM_REPORTRECORDITEM struct.

How can I access the record item from the row in the SELCHANGED notification?

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.141 seconds.