Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Reselect rows after UpdateRecord() or Populate()
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Reselect rows after UpdateRecord() or Populate()

 Post Reply Post Reply
Author
Message
hachem View Drop Down
Groupie
Groupie


Joined: 02 May 2008
Location: United States
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote hachem Quote  Post ReplyReply Direct Link To This Post Topic: Reselect rows after UpdateRecord() or Populate()
    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)
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.139 seconds.