Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML (NO TOOLBAR) DISPLAY REPORT

Status
Not open for further replies.

BlurredVision

Technical User
Aug 6, 2001
326
GB
Hello All.. Thought I would share this with you. I needed a way to display a report in html without the toolbar, and the data had to refresh when the 'refresh' botton on IE toolbar was clicked. I hope you find it useful.

Brian

Here's what I came up with:



<HTML>
<HEAD>

<script>
function time(){
mydate=new Date()
return mydate.getTime()
}
</script>

</HEAD>
<BODY><CENTER>
<iframe id=myiframe src=&quot;about:blank&quot; width=850 height=650 frameborder=0></iframe>
<script>
document.getElementById(&quot;myiframe&quot;).src=&quot; server/reports/viewrpt.cwr?&ID=51480&user0=id&password0=pw&apsuser=userid&apspassword=pw&apsauthtype=secEnterprise&viewer=html_frame&vfmt=html_frame&page=1&cmd=get_pg&incomplete_page_count=1&prompt0=&quot;+time()
</script>
<CENTER>
</BODY>
</HTML>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top