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