Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 Combing Reports
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00355680
Message ID:
00355949
Views:
11
>I'd like to "assemble" a report from a couple of different actual FP reports, so that they go into a single file which behaves like a single FP report. This contains multiple pages, and the pages may differ depending on the data. I think I need something like
>REPORT FORM myreport Additive PREVIEW. (on my wishlist for VFP7)
>
>I'd prefer not to code the whole thing from scratch and then dump it into a .txt file and preview with Modi Comm or something. (shades of DOS).
>
>Does anyone have ideas on how to do this? (Theory is fine).
>

SWAG Alert. Does each report start on a fresh page? If so, try assigning the output to a file by:

=SYS(1037) && Set up the right driver
SET PRINTER TO FILE FileName
REPORT FORM foo TO PRINT
SET PRINTER TO FILE FileName ADDITIVE
REPORT FORM bar TO PRINT
SET PRINTER TO FILE FileName ADDITIVE
REPORT FORM baz TO PRINT
SET PRINTER TO

to print it, use my CopyFile() API trick in the FAQ.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform