Hello Sergei:
I try with your cade and this function perfectly but with my report this program i don't make the PDF file.
Are there some restrictions on the reports ?
*****************************************
SET PROCEDURE TO ..\clases\WWAPI ADDITIVE
SET PROCEDURE TO ..\clases\WWPDF ADDITIVE
oPDF=CREATE('wwPDF40')
*** Filter condition
use xfactu
llResult = oPDF.PrintReport('lst12041.frx','c:\temp\lst12041.pdf')
******************************************************************
Thanks in advance
Fabian A. Borghi
Xenon Information Technology
Itaparica - BA - Brasil