ZQuery raising errors

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
User avatar
acke
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 16.05.2023, 16:20
Location: Novi Sad, Republic of Serbia
Contact:

ZQuery raising errors

Post 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;
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1928
Joined: 17.01.2011, 14:17

Re: ZQuery raising errors

Post by marsupilami »

Hello acke. This is expected. What is the problem?
User avatar
acke
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 16.05.2023, 16:20
Location: Novi Sad, Republic of Serbia
Contact:

Re: ZQuery raising errors

Post 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.
User avatar
acke
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 16.05.2023, 16:20
Location: Novi Sad, Republic of Serbia
Contact:

Re: ZQuery raising errors

Post by acke »

I wrote.... it works normally with insert, but it doesn't work with delete and refresh.
User avatar
acke
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 16.05.2023, 16:20
Location: Novi Sad, Republic of Serbia
Contact:

Re: ZQuery raising errors

Post by acke »

Now after a little research, I found that it only causes problems with Delete and Refresh.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1928
Joined: 17.01.2011, 14:17

Re: ZQuery raising errors

Post by marsupilami »

Hello Acke,

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

With best regards,

Jan
Post Reply