Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Direct print
Message
De
23/10/2002 07:27:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
23/10/2002 03:35:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00714245
Message ID:
00714278
Vues:
23
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform