Hi Enrico,

I use the code on the website:

LOCAL loReport as "FoxyPreviewerCaller" OF "FoxyPreviewerCaller.Prg"
loReport = CREATEOBJECT("FoxyPreviewerCaller")

WITH loReport as ReportHelper
        .AddReport("BatchNo.frx", "RANGE 1,1 NODIALOG")
    .cDestFile = goApp.ReportPath + "Batch " +
ALLTRIM(STR(goMembers.BatchNo)) + ".pdf"  && Use to create an output without
previewing
        .RunReport()    
ENDWITH
loReport = NULL

I suspect that the problem lies in the clause RANGE 1,1 but don't know. I'm
going to try Andrew's suggestion of Foxite.

Regards

John

John Weller
01380 723235
07976 393631 


> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
On Behalf
> Of Eurico Chagas Filho
> Sent: 30 August 2011 22:14
> To: [email protected]
> Subject: Re: FoxyPreviewer
> 
> John, hw do u call FoxyP ?
> 
> 
> 
> 
> >________________________________
> >From: John Weller <[email protected]>
> >To: [email protected]
> >Sent: Tuesday, August 30, 2011 4:54 PM
> >Subject: FoxyPreviewer
> >
> >I am using FoxyPreviewer but stumbling in the dark.  I'm having a problem
> >that it is only producing the first page of a report as a PDF.  I suspect
> >the parameters I'm using in the .AddReport method are wrong but I can't
find
> >any documentation on what the clauses should be.  Any suggestion
gratefully
> >received.
> >
> >TIA
> >
> >John Weller
> >01380 723235
> >07976 393631
> >
> >
> >
> >
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to