Solved by using the "Complete Mode":
instead of:
m.ccadena = "REPORT FORM lli_chk OBJECT TYPE " + cdestino + " TO FILE 'c:\gam\" + m_lch.codi_vhi + '-' + LTRIM(STR(RECNO('m_lch'))) + cext + "'"
&cCadena
now i do:
loReport = CREATEOBJECT("PreviewHelper")
WITH loReport as ReportHelper...
Hi all,
Im trying to generate some reports with FoxyPreviewer v299z30 with no preview so the user can choose previosly the output format or send it directly to the default printer.
This code run perfect when selecting pdf, html (it creates 3 files with 3 differents names each with its...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.