John Stephen
Programmer
I am running FoxyPreviewer v3.00.247 2023.12.10 Windows 11.
My problem is that when outputting to a PDF data from the previous PDF (in this case a previous invoice) is superimposed on the current PDF. Almost as if the previous PDF data is not being cleared. In older versions I issued a RELEASE after each Foxypreviewer session
Now I am leaving Foxypreviewer as recommended
Here is the startup code
DO FOXYPREVIEWER.APP WITH "CLEAN"
_Screen.oFoxyPreviewer.cUser = ********
_Screen.oFoxyPreviewer.cSerial = *******************
_Screen.oFoxyPreviewer.nRenderMode = 2
mFullFoxyVer = _Screen.oFoxyPreviewer.cVersion
Here is the code I use to produce the PDF
IF nFoxyVersion >=3
REPORT FORM (mReportName) TO FILE (mDestination)
ELSE
DO FoxyPreviewer.App WITH "CLEAN"
REPORT FORM (mReportName) OBJECT TYPE 10 TO FILE (mDestination)
DO FoxyPreviewer.App WITH "CLEAN"
ENDIF
Should this be the other way around ie because the mVersion is 3 or greater I should be using the CLEAN option
I guess I am asking if the CLEAN option clears any old data?
TIA John
My problem is that when outputting to a PDF data from the previous PDF (in this case a previous invoice) is superimposed on the current PDF. Almost as if the previous PDF data is not being cleared. In older versions I issued a RELEASE after each Foxypreviewer session
Now I am leaving Foxypreviewer as recommended
Here is the startup code
DO FOXYPREVIEWER.APP WITH "CLEAN"
_Screen.oFoxyPreviewer.cUser = ********
_Screen.oFoxyPreviewer.cSerial = *******************
_Screen.oFoxyPreviewer.nRenderMode = 2
mFullFoxyVer = _Screen.oFoxyPreviewer.cVersion
Here is the code I use to produce the PDF
IF nFoxyVersion >=3
REPORT FORM (mReportName) TO FILE (mDestination)
ELSE
DO FoxyPreviewer.App WITH "CLEAN"
REPORT FORM (mReportName) OBJECT TYPE 10 TO FILE (mDestination)
DO FoxyPreviewer.App WITH "CLEAN"
ENDIF
Should this be the other way around ie because the mVersion is 3 or greater I should be using the CLEAN option
I guess I am asking if the CLEAN option clears any old data?
TIA John