Add NOCONSOLE to suppress printing to the screen. What version of Acrobat are you using?
>I have the following code in a FoxPro 7 Program running under XP. This should produce a file in the fully qualified filename PFNAME. Instead it opens a file in the proper place with the proper name, makes it zero bytes in length and then previews the report to the screen.
>
>SET PRINTER TO NAME 'Acrobat PDFWriter'
>REPORT FORM &REPORTNAME TO FILE (PFILE)
NOCONSOLE >
>Does anyone know what is happening, or what I am missing
--sb--