Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - refreshing the control in the right way
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

refreshing the control in the right way

 Post Reply Post Reply
Author
Message
oslsrl View Drop Down
Newbie
Newbie


Joined: 19 June 2013
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote oslsrl Quote  Post ReplyReply Direct Link To This Post Topic: refreshing the control in the right way
    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

Back to Top
Willowmaster View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 July 2010
Location: Netherlands
Status: Offline
Points: 180
Post Options Post Options   Thanks (0) Thanks(0)   Quote Willowmaster Quote  Post ReplyReply Direct Link To This Post Posted: 01 April 2014 at 9:21am
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



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.156 seconds.