Print Page | Close Window

Reselect rows after UpdateRecord() or Populate()

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=16834
Printed Date: 27 June 2024 at 5:00pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Reselect rows after UpdateRecord() or Populate()
Posted By: hachem
Subject: Reselect rows after UpdateRecord() or Populate()
Date Posted: 16 June 2010 at 1:12am
I have a Report View, where the user can select a number of records and perform an operation. The records are then modified and updated in the view. Here is my issue:

I can get the records to update (in the view) by calling GetReportCtrl().Populate(), or GetReportCtrl().UpdateRecord(reportRec,FALSE); on each record in a multiple selection.

With either method, it seems that the currently selected records get deselected (except for one). How do I keep the rows selected after calling Populate() or UpdateRecord()?

Thanks.

Product: Xtreme ToolkitPro version 13.4.0
Platform: Windows Vista (64bit) - SP 1
Language: Visual C++ (2008)



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