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 22:18:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
27/04/2003 19:55:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00781993
Message ID:
00782063
Views:
12
>>>>I would think it should, too. You didn't happen to have a REST clause in the REPORT command?
>>>
>>>No. Only
>>>
>>>report form NameOfReport preview
>>
>>So, if I understand correctly, you need to issue GO TOP to make sure you get the entire report? I would not have expected this.
>
>Here's what I understand out of what happened.
>
>When invoking a report right after building a cursor with a SQL-SELECT then everything is ok.
>
>If you build a cursor programmatically then you have to make sure that the pointer is at the first record in your cursor before invoking the report.

I suppose that when you SELECT - SQL, the record pointer is already on the first record. But I wouldn't have thought that that matters.

And when you build a cursor programmatically, adding records with APPEND BLANK or INSERT INTO, your record pointer will very likely be at the very end - unless you care to place it back to the beginning, explicitly.
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
Reply
Map
View

Click here to load this message in the networking platform