Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Item Value!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Item Value!

 Post Reply Post Reply
Author
Message
moe188 View Drop Down
Senior Member
Senior Member


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post Topic: Item Value!
    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,
 
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: 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
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.188 seconds.