Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to save a report to html at runtime
Message
From
23/08/2000 16:02:55
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00407475
Message ID:
00408463
Views:
14
Shuli,

>This may sound stupid, but I haven't figured out how to take the HTML report output and save it onto a specified directory. I've tried PUTFILE() but that seems to save the report on a default directory. If you have any suggestions, I would appreciate it. I tried to use STRtoFILE() but was unable to make it work.

Let's say you have built a string called "cHTML" containing your report in HTML format:
STRTOFILE(cHTML, "c:\somepath\somefilename.htm")
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Reply
Map
View

Click here to load this message in the networking platform