Print Page | Close Window

HOWTO select/focus row inserted by AddRecordEx

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=10056
Printed Date: 19 May 2024 at 1:46am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: HOWTO select/focus row inserted by AddRecordEx
Posted By: mgampi
Subject: HOWTO select/focus row inserted by AddRecordEx
Date Posted: 03 April 2008 at 6:03am
Hi;
 
whats the best way to select the latest inserted record.
I use AddRecordEx to insert the record and then call report.GetRows()->Find(pRecord) to find the according row, but I think the more records are contained in the control the longer the find will last.


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Replies:
Posted By: mgampi
Date Posted: 11 April 2008 at 3:19pm
Hi;
No one out there to get an answer for this???


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



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