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: 23 November 2024 at 2:51am
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 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



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 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



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