Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report output generation via code.
Message
From
18/04/2004 00:27:44
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00895843
Message ID:
00895878
Views:
21
>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform