refresh problems

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
sweisse
Posts: 3
Joined: Thu 15 Jun 2006 14:18

refresh problems

Post by sweisse » Thu 15 Jun 2006 14:31

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

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

Post by Plash » Fri 16 Jun 2006 09:01

In new versions of ODAC cursor position is restored after refresh. But version 5.55 of ODAC doesn't have such feature.

sweisse
Posts: 3
Joined: Thu 15 Jun 2006 14:18

refreshing joins

Post by sweisse » Tue 20 Jun 2006 13:19

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.

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

Post by Plash » Wed 21 Jun 2006 11:39

You should set KeyFields property of TSmartQuery component to make restoring of position work.

sweisse
Posts: 3
Joined: Thu 15 Jun 2006 14:18

Post by sweisse » Tue 27 Jun 2006 12:57

thank you,

it works now.

Post Reply