Page 1 of 1

refresh problems

Posted: Thu 15 Jun 2006 14:31
by sweisse
Hi,

I am using ODAC-components for Delphi 5, version 5.55.0.19.
Whenever I do a refresh on my TOraTable, the cursor of my TDBGrid flips to the top.
When I do the same with a simple TTable, the grid does not change.
Is there a simple option in TOraTable to set?

sweisse

Posted: Fri 16 Jun 2006 09:01
by Plash
In new versions of ODAC cursor position is restored after refresh. But version 5.55 of ODAC doesn't have such feature.

refreshing joins

Posted: Tue 20 Jun 2006 13:19
by sweisse
thank you so far.
But it seems to me, that ist does not work correctly on views.
Is it possible?
I tried this with version 5.70.1.33 and a TSmartQuery with a join over 2 tables.

Posted: Wed 21 Jun 2006 11:39
by Plash
You should set KeyFields property of TSmartQuery component to make restoring of position work.

Posted: Tue 27 Jun 2006 12:57
by sweisse
thank you,

it works now.