Leemi
Wed Nov 02 17:01:21 CST 2005
Hi Steve:
If you have VFP 9.0, you may be able to use the Report Listener and "chain"
the reports to make one file.
You may be able to do a Google search and find an example on the Web of
this technique.
I hope this helps.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell
*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/
*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr
Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/gp/lifeselectindex
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003
>Thanks guys for your answers.
>The NAME word in the TO PRINTER clause is what I needed (which I now
>see was in the doc:). My statements now can output to a pdf file, but
>the user is required to designate a file name as each statement.
>So, ... I'm not sure if this is an Acrobat, Foxpro or API question:
>Is there a way to append each statement "printout" to the same pdf
>file or maybe to separate pdf files with names somehow generated
>without user intervention?? (Acrobat 7.0 Pro can then merge all the
>output files into a single document).
>Any ideas? Thanks.
>Steve Meyerson
>On Wed, 05 Oct 2005 22:06:41 -0400, Steve Meyerson
<stevemeyerson@cox.net> wrote:
>After selecting the PDF writer from the printer dialog box for the
>first statement, I want the program to print the remaining 100 (or
>so) statements to PDF without user intervention.
>
>But with this construct...
>
>firstStatement = .T.
>SELECT Members
>SCAN
> .... process member's transactions
> promptClause = IIF(firstStatement, 'PROMPT', '')
> REPORT FORM Statement NOCONSOLE TO PRINTER &promptClause
> firstStatement = .F.
>ENDSCAN
>
>... the program prints the first statement to PDF, as selected in the
>dialog box, but the remaining statements output to the default printer
>instead of PDF.
>
>How can I print all the statements to the non-default printer (i.e. to
>a PDF file)??
>
>
>Steve Meyerson