TBufDataset adds extra records when stepping through a while loop.
Original Reporter info from Mantis: RedOctober
-
Reporter name: Kevin Morris
Original Reporter info from Mantis: RedOctober
- Reporter name: Kevin Morris
Description:
If TBufDataSet has a calculated field that populated from .RecNo, when you issue a .First command, the TBufDataset will add several extra records. However, if you step through from bottom to top, it works correctly.
Steps to reproduce:
See sample project. My IDE is Lazarus 1.8.4 and FPC 3.0.4 (These choices were not available in the "Product Version" pull down list.
Mantis conversion info:
- Mantis ID: 36710
- OS: Windows Server
- OS Build: 2016
- Build: 1.8.4
- Platform: Microsoft
- Version: 2.0.7 (SVN)
- Target version: 3.2.0