Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Direct print
Message
From
23/10/2002 07:27:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
23/10/2002 03:35:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00714245
Message ID:
00714278
Views:
22
>hi,
>i am using ??? to print receipt. I would like to know, joining all data into a variable and issue ??? one time is better or issue multiple ??? for each line is better?

It should be approximately the same. I suggest you do whatever keeps your program more readable.

>Any limitation for both?

Creating a huge variable in memory can be time-consuming for VFP. But even for a 1000 pages, the size of the variable would be within reasonable limits, I believe.

If you didn't already do so, you may want to take a look at my download to print in text mode. Some features include preview in text editor or browser, both browser preview and printing includes bold and italic, export to Excel, imitation of most major VFP report features (grouping, multiple columns, ...). If you don't use it as-is, it may at least give you some ideas.

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
Next
Reply
Map
View

Click here to load this message in the networking platform