Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing print job left open by NOPAGEEJECT
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01086324
Message ID:
01086451
Views:
24
Thanks a lot for the suggestion. I did try to append an empty report, too, but that didn't seem to work right:

- when previewing, it didn't start the previewer - as if the previwer startup was suppressed by the last report being empty. This can be fixed by setting up the previwer manually

- when sending the output to a printer the last report added an empty page at the end of the print job and I couldn't figure out how the get rid of it

>The easiest trick is this ....
>
>
>FOR ln = 1 TO Whatever
>  REPORT FORM MyReport PREVIEW NOPAGEEJECT
>ENDFOR
>REPORT FORM MyReport Next 0 PREVIEW
>
>
>Telling it to do the report with the next 0 records is enough to fake it out so it ends the print job.
Martin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform