Page 1 of 1

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

Posted: Tue 06 Oct 2009 03:30
by wingtang
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:

Posted: Tue 06 Oct 2009 07:36
by Plash
Try to set the following properties of TSQLQuery:
NoMetadata := False;
GetMetadata := True;

Posted: Tue 13 Oct 2009 06:57
by wingtang
It solved, and many thanks. :D