Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why does it work alone but not in EXE?
Message
De
27/04/2003 22:18:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
27/04/2003 19:55:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00781993
Message ID:
00782063
Vues:
14
>>>>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform