Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send report directly to a string
Message
From
30/01/2003 18:16:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
30/01/2003 17:22:41
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00747451
Message ID:
00747468
Views:
14
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform