Can't Use "ClientDataset.ApplyUpdate(-1)" ?!

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for Oracle in Delphi and C++Builder
Post Reply
wingtang
Posts: 12
Joined: Wed 19 Aug 2009 01:21

Can't Use "ClientDataset.ApplyUpdate(-1)" ?!

Post by wingtang » Tue 06 Oct 2009 03:30

We use Delphi 7 + Oracle 10g + dbExpress driver for Oracle
(License Number : CRDBO-01347) , we find that can't use ClientDataset.ApplyUpdate() to Insert/Update Table,the table will change nothing ; however, the "Insert into..." and "Update tablename...." SQL Script can do it well, we can't find what the prblem is, please help us. :cry:

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

Post by Plash » Tue 06 Oct 2009 07:36

Try to set the following properties of TSQLQuery:
NoMetadata := False;
GetMetadata := True;

wingtang
Posts: 12
Joined: Wed 19 Aug 2009 01:21

Post by wingtang » Tue 13 Oct 2009 06:57

It solved, and many thanks. :D

Post Reply