Print Page | Close Window

Item Value!

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


Topic: Item Value!
Posted By: moe188
Subject: Item Value!
Date Posted: 21 June 2006 at 3:57pm
Embarrassed
Hi,
I have a reportcontrol with 4 (A, B, C & D)columns, and I was wondering how can I be able to detect the value of column (C) when the user select a row of his choice?
Thank you,
 



Replies:
Posted By: sserge
Date Posted: 21 June 2006 at 4:42pm
Hi,

You can get a corresponding RecordItem like this:

CXTPReportRecordItem* pItem = wndReport.GetFocusedRow()->GetRecord()->GetItem(m_wndReport.GetColumns()->Find(3));


--
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