I have a problem with a TIBQUERY. I have make an example here without all data and a simply count of the record.
In the table there are only 5000 records and the table contain some integer records, is very small!
When I execute it at Runtime there are no error and the result is OK.
When I execute in debug mode I have this error:
Project project_my.exe raised exception class EAccessViolation with message 'Access violation at address 12345678 in module 'project_my.exe'. Read of address 87654321'. Process stopped.
With address every time different (here I have write 12345678).
If I try to continue the program go and I have the just count!
There is a way to solve this?
Delphi 7 - InterbaseExpress 6.
Q_MY.Sql.Add('SELECT * FROM VISTA_HP_03');
while not Q_MY.eof do
Q_MY.Next; // passo al Cliente successivo