Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reports to html
Message
From
26/06/2002 07:05:47
 
 
To
26/06/2002 06:48:46
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00672365
Message ID:
00672382
Views:
9
Hi Robert

Did you send this message to Peter? I'm already using a "similar" method to yours below.

Kev

>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
Previous
Reply
Map
View

Click here to load this message in the networking platform