>Nothing wrong as such. I want to get output in a format such that i can send it by e-mail without a viewer or using 3rd party stuff like frx2any or xfrx.
>
>I dont want PDFs.
>I want to make a file so that it can be viewd on any computer as well as editable. HTML is good. Xfrx produces too much style tags. I want small and simple.
Create a template in your favorite html editor, and store it to a property, like this:
text textmerge to this.template noshow
< html goes here >
endtext
Now in this html you should provide places where your content would be inserted, using textmerge delimiters. You can even place function or method calls there. Then your code should just
lcText=textmerge(this.template)
and then you can strtofile(lcText, "file.html")
and that's it. It's very simple, straightforward and not too hard to do.