Subject IB_Query eof compatibility mode?
Author Marco Menardi
Hi, trying to fix a bug where FastREPORT is involved (compiled for
native IBO access), I've seen that the code for EOF (End Of File)
management is different (conditional compilation) because standard VCL
TDataset (BDE) behave differently than native IBO:
We are on the last record:
Next
IBO = EOF True, status dssBrowse, all fields values are empty and data
controls are gray (is like IBO has gone beyond the end of the dataset,
you have to use Prior to return to the last record)
BDE = EOF True, status dsBrowse, stays on the last record (if you use
Prior you go to the last but one record)
If you use Next again:
IBO: an exception is risen
BDE: no exception, no record change

The same happends for BOF

my question is: would be easy and convenient to implement a property
"EOFCompatibility" and make, if true, the IB_xxxx behave like VCL or
TDataset ones? This would greately simplify native components support
from 3th party sources, like FastREPORT
(http://www.fastreport.org/en/). In fact, the FR code seems unable to
manage some situations, because doing things right should imply a
complitely rewrite of a big amount of code, instead than some
conditional compilations.
Thanks
Marco Menardi