Hi,
I'm working on Windows 11.
I've compiled my applications with the last version of Lazarus (4.6 32/64 bits).
I've this code
...
qry.DisableControls;
qry.Close;
qry.Open;
if qry.eof then exit;
...
With the program compiled with Lazarus version 2.2.0 all is fine: no error when I move to the grid linked to the qry dataset.
With version 4.6 I receive an Access violation when I move to the grid.
I know, there is a problem on code above: if the qry is empty the controls are not enable again because no call to EnableControls is done before exit.
But my question is: has anything changed in the new version regarding the management of data controls?
Thanks