Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
10 Things to Avoid in VFP Development
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00310318
Message ID:
00310755
Vues:
32
>>>
>>>What about the scope clause in REPORT FORM? Anyway, I was working on fixing an app a while back where the author used SET FILTER in Form.Refresh. Ack!
>>>
>>
>>This doesn't work if you PREVIEW and then print from within the preview.
>
>Fred,
>
>Very easy to fix this so it will never again be an issue. ONly drieve a report form a cursor that has exactly the data required for the report and never use the scope clauses on the report. Let the DML manage the processing of the data and the report ONLY fomrats the printed page.

That's the way I ALWAYS do a report. I never even knew this didn't work until I read it here.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform