Subject | RE: [IBO] Bug (plus fix!) in IB_IncSearch in release 5.9.3.2631 |
---|---|
Author | IBO Support List |
Post date | 2017-07-21T18:28:36Z |
Gary,
Thank you greatly! This will be fixed in the next release.
Jason
From:
IBObjects@yahoogroups.com [mailto:
IBObjects@yahoogroups.com ]
Sent: Thursday, July 20, 2017 6:07
AM
To: IBObjects@yahoogroups.com
Subject: [IBO] Bug (plus fix!) in
IB_IncSearch in release 5.9.3.2631
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 .