Date:  10/06/2008 02:49:14 AM Msg ID:  003813
From:  jc clerc Thread:  003813
Subject:  How to fwPDF.SendPDF into a new window ?
Hello,
I would like to use the FwPDF request since it does delete the file after upload wish is a very good solution but I need to open in a new window since the users are always making the choice to close the window in order to go back to the application !
 
I have tried that but it doesn't work
 
 ....
M.TempFile = fwPDF.GetTempFile()
REPORT FORM xxx NOWAIT NOCONSOLE TO FILE (M.TempFile)
%>

<SCRIPT LANGUAGE="javascript">
window.open('<%fwPDF.SendPDF(M.TempFile, , .T., fwPDF.PS2PDFMethod <> 0, .T.)%>','print','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=1, copyhistory=0, menuBar=1, width=600, height=500, left=0, top=0');
</script>
 
 
Kind regards
JC