View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
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