Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reports to html
Message
From
26/06/2002 06:48:46
 
 
To
26/06/2002 06:43:39
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00672365
Message ID:
00672379
Views:
10
Hi!

I've solved this problem in the following way:

1) I created a HTML-file with some variables (eg: #date#,#room#,...)
2) I create the cursor containing the info for printing
3) I read the html-file into a string using FILETOSTR() and replace the variables in this file with the content of the cursor
4) Write the string back to a file using STRTOFILE()
5) Preview of this file:
x=createobject("wscript.shell")
x.run("htmlfile.htm")
release x
HTH
robert.oh.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform