TDbLookupCombobox doesn't work with TFixedFormatDataset/TSdfDataset with fpc 2.6.4
Original Reporter info from Mantis: luca @olivluca
-
Reporter name: Luca Olivetti
Original Reporter info from Mantis: luca @olivluca
- Reporter name: Luca Olivetti
Description:
A TDbLookupCombobox shows blank items when used with a TSdfDataset, just like bug #26356 (closed)
It worked in lazarus 1.4.4.
I see in lcl/include/dblookup.inc that there's a workaround for TMemDataset:
"in fpc 2.6.4, TMemDataset does not supports BlockRead. Issues 26356, 27959"
It appears that TSdfDataset has the same issue (though I don't understand why it worked with lazarus 1.4.4), fixed in fpc 3.0.0.
The attached patch fixes the problem.
Mantis conversion info:
- Mantis ID: 30931
- Version: 1.6.2
- Fixed in revision: 54950 (#e8857ce5)