>>I have some code that creates a cursor with SQL-SELECT.
>>
>>After that cursor is created I create another one with the same structure as the one that was created with SQL-SELECT.
>>
>>This new cursor will contain almost all the data that was in the cursor created with the SQL SELECT.
>>
>>The only difference will be that some records won't be there based on a certain criteria.
>>
>>I tested that part alone in a prg. Everything is fine.
>>
>>SO I compile my App and generate an EXE. In the EXE I create the report that will contain the records. When I look at the report from the EXE I have 19 pages containing all the same record (last one that was created on the cursor) instead of 19 pages of different records.
>>
>>Anyone knows what I should do to correct that behavior?
>
>forget it. Problem solved. When getting in the report the record in the cursor was the last one. I thought that the report creation would begin with the first one automatically
I would think it should, too. You didn't happen to have a REST clause in the REPORT command?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)