Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why does it work alone but not in EXE?
Message
From
27/04/2003 15:32:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
27/04/2003 14:07:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00781993
Message ID:
00782008
Views:
16
>>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform