Subject | Bug (plus fix!) in IB_IncSearch in release 5.9.3.2631 |
---|---|
Author | |
Post date | 2017-07-20T12:07:21Z |
Jason,
I've noticed a bug in the IncSearch component which had an easy fix.
The procedure TIB_IncSearch.KeyDown has been altered since the last release candidate (5.9.3.2620_RC1) and the 'with' statement removed.
Unfortunately, in the check for a 'down' cursor key (VK_DOWN) being pressed, the 'Dataset' keyword had been missed from the check for EOF which causes an 'I/O Error 6' (as I assume it's checking for the end of an undefined file instead of the dataset)
The same omission appears in the check for VK_NEXT.
These can easily be fixed by changing each check from 'if not Eof then' to 'if not Dataset.Eof then'. Re-compile and everything works nicely again.
Hope this helps anyone - I normally just report any errors, but it's good to have fixed one for a change!
Regards,
Gary.
I've noticed a bug in the IncSearch component which had an easy fix.
The procedure TIB_IncSearch.KeyDown has been altered since the last release candidate (5.9.3.2620_RC1) and the 'with' statement removed.
Unfortunately, in the check for a 'down' cursor key (VK_DOWN) being pressed, the 'Dataset' keyword had been missed from the check for EOF which causes an 'I/O Error 6' (as I assume it's checking for the end of an undefined file instead of the dataset)
The same omission appears in the check for VK_NEXT.
These can easily be fixed by changing each check from 'if not Eof then' to 'if not Dataset.Eof then'. Re-compile and everything works nicely again.
Hope this helps anyone - I normally just report any errors, but it's good to have fixed one for a change!
Regards,
Gary.