General information
Category:
Reports & Report designer
Jason,
I haven't seen a solution to your problem.
Like you, I figured there must be an easy way to do this. One of my clients asked me to do something like this last week, so I played around with it and came up with a "satisfactory" solution.
1. Design your report as you normally would, for a paper printout.
2. Add html tags to the report. I keep all tags in a Notepad txt file so I can cut and paste.
The following tags should be the first entries in your header (minus the spaces):
< HTML >< HEAD >< TITLE >
VFP Sample to htm file
< /TITLE >< /HEAD >< BODY >
< PRE >
Your report (previously designed) goes here. You can place html tags for font, bold, color, size, etc. throughout the report just as you would if you were designing a basic web page.
The following tags should be the last entries in your footer:
< /PRE >< /BODY >< /HTML >
3. To generate the report, use a command similar to the following:
report form htmltest to file htmltest.htm ascii
(You can save it to any directory you choose, for web access or an email attachment)
It's really that easy.........you were right:>)
Dale
>I need to be able to save a report to an html file at runtime. I think this is probably an easy one, but I can't seem to figure it out.
>
>Thanks in advance,
>Jason Mower
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only