Page 1 of 1

ZQuery raising errors

Posted: 16.05.2023, 16:26
by acke
After clicking on F1 ( which is rQuery.SQL.Refresh; ) or DEL ( which is rQuery.SQL.Delete; ) it is raising error in these lines:

[ZDbcGenericResolver.pas]

Code: Select all

raise EZSQLException.Create(Format(SInvalidUpdateCount, [lUpdateCount]));
[ZDbcUtils.pas]

Code: Select all

raise EZSQLException.CreateClone(EZSQLException(E))
[ZAbstractDataset.pas]

Code: Select all

raise EZDatabaseError.CreateFromException(E);
Zeos working perfectly on

Code: Select all

open; insert; .... post; refresh;

Re: ZQuery raising errors

Posted: 17.05.2023, 08:10
by marsupilami
Hello acke. This is expected. What is the problem?

Re: ZQuery raising errors

Posted: 17.05.2023, 18:43
by acke
marsupilami wrote: 17.05.2023, 08:10 Hello acke. This is expected. What is the problem?
I wrote.... it works normally with insert, but it doesn't work with delete and refresh.

Re: ZQuery raising errors

Posted: 17.05.2023, 18:44
by acke
I wrote.... it works normally with insert, but it doesn't work with delete and refresh.

Re: ZQuery raising errors

Posted: 17.05.2023, 22:54
by acke
Now after a little research, I found that it only causes problems with Delete and Refresh.

Re: ZQuery raising errors

Posted: 22.05.2023, 17:17
by marsupilami
Hello Acke,

please post an example of code that generates the problem. This helps us in debugging.

With best regards,

Jan