refreshing the control in the right way |
Post Reply |
Author | |
oslsrl
Newbie Joined: 19 June 2013 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 31 March 2014 at 8:58am |
Hi all!
I have a question about a good "refresh" of a ReportControl.
Suppose my "Customers" table has 300 records, and I want to modify "City" field from "Rome" to "Milan" at record #200. My application shows the list of records at the left, only 50 records per page, so I scrolled down the pages 4-5 times to reach #200 position. At the right of my form I modify the "city" field" of selected record. When I press "Modify" button I'd like to see value "Rome" becoming "Milan" at the Reportcontrol "City" column without scrolling the pages.. If I use Reportcontrol.Populate method the list view scrolls, showing me the first record in the first page, so I'm forced to press pagedown key to see my record again... How can I refresh the page remaining in the same page, keeping the selected record at the same position? I hope I was clear.. Thanks, Luca |
|
Willowmaster
Senior Member Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
Post Options
Thanks(0)
|
You can block the selection change after a populate by setting a parameter in the correct event.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |