Print Page | Close Window

Access violation getting record from row

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=3671
Printed Date: 27 April 2024 at 4:33pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Access violation getting record from row
Posted By: bobw
Subject: Access violation getting record from row
Date 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?




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