Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reports to html
Message
De
26/06/2002 06:48:46
 
 
À
26/06/2002 06:43:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00672365
Message ID:
00672379
Vues:
9
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
robert.oh.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform