but am unable to obtain in pdf..... could anyone please suggest me how it can be done?
Thanks in advanceThis message has been edited. Last edited by: Kerry,
714
March 10, 2009, 09:23 AM
Tony A
Use an iframe to house the PDF report and set the title attribute in the parent HTML page.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
March 11, 2009, 06:00 AM
pk
but though pdf is housed into an iframe it opens in a new window and the title of the browser is shown in url format but my requirement is to display a title on browser
714
March 11, 2009, 07:10 AM
pk
may be i might be making some mistake in any step... could please post an example for this problem....
714
March 17, 2009, 09:05 AM
GamP
As Tony said, use an iframe to display your pdf. Example? Here it is:
APP HOLD MYAPP
TABLE FILE CAR
PRINT DEALER_COST RETAIL_COST
BY COUNTRY
ON TABLE HOLD AS MYPDF FORMAT PDF
END
-RUN
-HTMLFORM BEGIN
<HTML>
<HEAD>
<TITLE>THIS IS MY PDF</TITLE>
</HEAD>
<BODY>
<iframe width=100% height=100% src=/approot/myapp/mypdf.pdf>
</BODY>
</HTML>
-HTMLFORM END