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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using report form to save report layout with an image object in a file

Status
Not open for further replies.

mariabenita

Programmer
Jun 18, 2001
13
0
0
SG
Good Day,
I have report with an image object and I want to send output directly into HTML file using REPORT FORM command.
I don't know if it possible, but is there any other way to send output into html file
 
is there any other way to send output into html file

Well, you can always construct the html file directly. Since html files are just text files with the .htm extension, you just need to output to file additive which would let you create headers, a link to the .gif or .jpg file that is the picture source for your image object, and whatever text you want. It's not really all that hard to do. I was playing around with the concept a while back to display pictures of 'Birds on Stamps'. The biggest problem I had was deciding how flexable to make the setup. Here's a simplified .html template you could use to set things up:

Code:
<HTML>
<HEAD>
<TITLE>Caicos Is bird stamp</TITLE>
</HEAD>
<BODY>
<B><FONT SIZE=5><P ALIGN=&quot;CENTER&quot;>Caicos Is</P></FONT></B>
<CENTER>
<IMG SRC=&quot;file://C:\my documents\stamp images\C\caicos\0068[1].jpg&quot; 

BORDER = 0 WIDTH = 133 HEIGHT = 88>
</CENTER>
</BODY>
</HTML>

You'd just need to replace the title, caption and image path with your own information.

Dave Dardinger
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top