Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report output generation via code.
Message
De
18/04/2004 00:27:44
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00895843
Message ID:
00895878
Vues:
22
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform