In my application there is a function to refresh the queries, but sometimes it is returning ACESS VIOLATION in the "OPEN" method. After clicking on "break" the pointer takes the code to the unit "ZDbcCache.pas", more precisely in the procedure TZRowAccessor.SetNull(ColumnIndex: Integer);
Could someone tell me how to solve this problem, please?
I currently use Delphi 10 Seattle with Zeos 8.0.0-beta
Previously with Delphi 7 and Zeos 7.2 the error was not displayed in the same application (I am in the process of migrating from D7 to Delphi Seattle)
Thank you all for your help!
Code: Select all
procedure RefreshQuery(vmo_ParQuery: TZQuery);
begin
with (vmo_ParQuery as TZQuery) do
begin
DisableControls;
Close;
Open;
EnableControls;
end;
end;
---------------------------
Debugger Exception Notification
---------------------------
Project Prisma5_MD.exe raised exception class $C0000005 with message 'access violation at 0x0075117a: read of address 0xc2b64469'.