Updating Table and combined SQL

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
cis-wurzen
Posts: 75
Joined: Tue 04 Jan 2005 10:26

Updating Table and combined SQL

Post by cis-wurzen » Mon 03 Jul 2006 12:47

I use the newest ODAC Version 5.70.1.33.

I have a TSmartQuery with SQL from different tables. To edit the DataSet i set the UpdatingTable property to the table i want to edit.

On opening of the DataSet the UpdatingTable property is cleared. If i try to edit the Dataset i get the error "UpdatingTable is not defined.".

Why the property is cleared?

In an older Version 5.55.1.24 it works.

I look'ed into your sources and found out that the Class TCustomDaDataSet has it's own variable FUpdatingTable and the Class TCustomSmartQuery, who is a descendant of TCustomDaDataSet, has also an FUpdatingTable. When the property UpdatingTable of TSmartQuery is set only FUpdatingTable of TCustomSmartQuery is set. But internally you are working with the FUpdatingTable from CustomDaDataset which is not set. I think there is a problem in your class hierarchy.

Please fix this.

I don't send a sample because this problem is easy to reproduce.

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Wed 05 Jul 2006 07:38

We fixed this problem. This fix will be included in the next build of ODAC.

renez
Posts: 6
Joined: Mon 18 Dec 2006 10:58

Re: Updating Table and combined SQL

Post by renez » Mon 18 Dec 2006 13:29

cis-wurzen wrote:I use the newest ODAC Version 5.70.1.33.

I have a TSmartQuery with SQL from different tables. To edit the DataSet i set the UpdatingTable property to the table i want to edit.

On opening of the DataSet the UpdatingTable property is cleared. If i try to edit the Dataset i get the error "UpdatingTable is not defined.".

Why the property is cleared?
Hello,

i updated from ODAC Version 4.15 to 5.80.0.37 (Delphi 6) and now i have the same problem like cis-wurzen had. In the older version 4.15 it works without problems.
When i set the UpdatingTable property of the TSmartQuery and then set Active to true, the UpdatingTable property is cleared.
In the history you wrote that is was fixed in version 5.70.1.34.

Could you please fix it again?
Thanks.

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

Post by Plash » Tue 19 Dec 2006 14:29

We have fixed this problem. The fix will be included in the next build of ODAC.

renez
Posts: 6
Joined: Mon 18 Dec 2006 10:58

Post by renez » Fri 29 Dec 2006 10:11

plash wrote:We have fixed this problem. The fix will be included in the next build of ODAC.
You wrote this information 10 days ago, when will the next build come? I´m sorry for my impatience, but this fix is very important for my company.

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

Post by Plash » Tue 02 Jan 2007 10:11

The new build of ODAC with the fix will be released on the next week.

Post Reply