Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send report directly to a string
Message
De
30/01/2003 18:16:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
30/01/2003 17:22:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00747451
Message ID:
00747468
Vues:
16
>Is there any way to send a report directly to a string?
>Something like REPORT FORM myreport TO mystring.
>
>For some security (and other) reasons I wand to avoid printing first to a file and then converting the ASCII file to a string with the FILETOSTR() function.

My text-report class (download #9991) prints to an ASCII file, but I think it can be adapted to construct the text directly in memory.

Note that I don't use the report designer - all reports have to be redone if you use this class.

To adapt it, you would have to take a look at the Print() and PrintLine() methods, for a start.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform