Date:  10/31/2004 09:47:51 PM Msg ID:  002325
From:  FoxWeb Support Thread:  002322
Subject:  Re: Page unloading problem
What do you mean by "the pages disappear?"  Are the browser windows closing?  If this is the case, then your browser is probably crashing (perhaps trying to load the PDF viewer).

FoxWeb Support Team
support@foxweb.com email

Sent by Joe Goldsmith on 10/31/2004 07:07:40 PM:
This post is not mutually exclusive from my prior post about the WIN2PDF driver. The problem is that sometimes, but not al the time, the calling FWX page and the _BLANK FWX that holds the following code each disappear/unload both sessions. The code is:
 
PRINTLETTER.FWX
 
<A HREF="printit1.fwx?mletter=<%=Server.URLEncode(TEXTMERGE(M.LNOTES, .F.))%>" TARGET="_BLANK">[Print]</A>
 
PRINTIT1.FWX
<%
LOCAL MergedText
M.MergedText = Request.QueryString('mletter')
%>
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>
<%
SET PRINTER TO NAME "WIN2PDF"
TempFile = SYS(2023) + '\' + SYS(2015) + LTRIM(STR(Request.CurrentChannel)) + '.pdf'
STRTOFILE(M.MergedText, TempFile)
%>

Anyone have an idea what I am doing wrong please where both the calling page and the called _BLANK page both unload and disappear?

Joe