Manualy smart refresh of TSmartQuery

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
oschulz
Posts: 5
Joined: Fri 30 May 2008 09:39

Manualy smart refresh of TSmartQuery

Post by oschulz » Tue 29 Jul 2008 12:01

Hi there.

Is there a possibility, to send refresh event directly to a smart query instead of using DB to send refresh event?

The problem i have: smart refresh works fine but takes several seconds to refresh the list. If i add a new entry, it would be nicer, to refresh list without time shift.

kind regards
Oliver

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 30 Jul 2008 09:12

You can call the Refresh method of TSmartQuery when you need to refresh data.

oschulz
Posts: 5
Joined: Fri 30 May 2008 09:39

Post by oschulz » Mon 04 Aug 2008 08:41

Hi Plash.

Refresh method works like close and open dataset, which with get data completely new, I think?
Else it is, what I searching for.

Thanks
Oliver

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 05 Aug 2008 07:21

Yes, the Refresh method gets completely new data like Close and Open.
But SmartRefresh calls the Refresh method when it receives an event. So if you manually call Refresh it will take the same time as SmartRefresh.

Post Reply