Refresh records and stay at current row

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
classic12
Posts: 21
Joined: Mon 20 Apr 2009 09:48

Refresh records and stay at current row

Post by classic12 » Sun 26 Apr 2020 17:45

I am using myQuery and ListView in Delphi 10.3.3

The listview is databound to the query.
When I select a row in the list view I open a tab with some labels linked to the query.
I want to run a timer to refresh the table every 10 mins.

If the user in the tab on a specific record and the refresh happens the record set jumps to the last record.
Is it possible to do a refresh on the table but retain the current row ?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Refresh records and stay at current row

Post by ViktorV » Thu 30 Apr 2020 13:20

Unfortunately, we haven't been able to reproduce the issue.
In order for us to be able to give you a detailed answer, we need to have a sample demonstrating the specified behavior. Therefore, please compose a small sample demonstrating the described behavior and send it to us using the contact form https://devart.com/company/contactform.html including the scripts for creating database objects. Please also indicate the full and accurate versions of MySQL and MyDAC.

Post Reply