I would zip up the report and data and send to Martin for troubleshooting.
>Hoping someone has run into this or can guide me where to start looking.
>
>I'm using XFRX to allow the users to print to PDF. Cool easy works!
>
>Just had this pointed out to a user and appears to be happen only on this one report. When they run this report, and they do a normal print the first page has the page number as 1 as it should be. When they click the PDF for that report and the PDF is created using XFRX the page number on the first page is 2. Doesn't seem to happen on any other report that I've run (and I'm trying to go through them all).
>
>
>losession=XFRX("XFRX#INIT")
>lnRetVal = loSession.setparams(tcOutputFile,,llNotOpenViewer,,,,"PDF")
>IF lnRetVal =0
> losession.ProcessReport(tcReportName)
> losession.finalize()
>ENDIF
>
>
>I'm using XFRX version 12.6 - but I guessing the problem is really somehow related to the physical report file.
>
>Any suggestion greatly appreciated.
>
>Kirk
--sb--