Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
10 Things to Avoid in VFP Development
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00310318
Message ID:
00310755
Views:
33
>>>
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform