Information générale
Catégorie:
Gestionnaire de rapports & Rapports
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement