Sorry, forgot to put this information.
Yesterday I upgraded my Lazarus to version 1.1 (04.22.2012), FPC 2.6.1. Unfortunately I'm using Windows 7 32 Bit. I do not like Windows, although the use of professional issues.
I made it through a loop as you said.
I was having a problem that the report was based on the result file showing blank records that should already be closed. I wondered if he had the wrong file generation, but then discovered that the cases were actually open, although already having closed earlier closing them is not recorded and kept open, although I believe they were closed.
Thank you for your attention.