when I put Uniquery,UniDataSource,UniUpdateSQL on a Form.
Set properties like this:
UniDataSource.DataSet := UniQuery;
UniQuery.UpdateObject := UniUpdateSQL;
//and I generate UniUpdateSQL insert\Update\Delete SQL Code on the form;
I define UniQuery.AfterpPost event Code like this:
UniQuyer.ApplyUpdates;
I define UniQuery.AfterDelete event Code like this:
UniQuyer.ApplyUpdates;
but when I wrote this code to Insert or Delete records,Insert is successful,but Delete is not successful.
UniQuery.Close;
UniQuery.Open;
UniQuery.Insert;
UniQuery.FieldByName('TEST').Asstring := 'AAAA'; //Key Filed
...
UniQuery.Post; //the record was be inserted to MSSQL sucessful;
//then i run this
UniQuery.Delete; //the record 'AAAA' can not be Deleteed,and i user sql server profile,
//can not trace any SQL CODE
Can you help me how to solve this problem?
Thanks a lot.
Why Uniquery.ApplyUpdates not successful?
Re: Why Uniquery.ApplyUpdates not successful?
Hello,
Thank you for the information, we have reproduced the problem and will try to fix it as soon as possible.
Thank you for the information, we have reproduced the problem and will try to fix it as soon as possible.
Re: Why Uniquery.ApplyUpdates not successful?
AlexP wrote:Hello,
Thank you for the information, we have reproduced the problem and will try to fix it as soon as possible.
Thank you very much.
when could I download the new version components?
because I am worry about my projects.
Thanks a lot.
Re: Why Uniquery.ApplyUpdates not successful?
Hello,
We plan to release a new version in the end of this - beginning of the next month.
We plan to release a new version in the end of this - beginning of the next month.
Re: Why Uniquery.ApplyUpdates not successful?
AlexP wrote:Hello,
We plan to release a new version in the end of this - beginning of the next month.
Is this problem be resolved?
Re: Why Uniquery.ApplyUpdates not successful?
Yes, the problem is already fixed, the fix will be included to the next version.