Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create a report programmatically
Message
De
09/10/2003 11:07:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
09/10/2003 08:23:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00836728
Message ID:
00836900
Vues:
14
>hi nancy,
>
>i don't know at design time how many fields will appear in the cursor.
>
>is there any other way?

One way to manage a variable number of fields is to use Excel Automation (copy the data to Excel).

Advantages: Once you know Automation, this is relatively easy, and very flexible. You can get a great output.

Disadvantages: The user has to have Excel. For large reports, it may be relatively slow.


Another, similar, option is to generate a text-file.

Advantages: No additional tools required for the end-user. Very flexible. Fast printing on dot-matrix printers.

Disadvantages: Ugly output. Not flexible (doesn't work on all printers). It is sometimes complicated to generate the output. (My download #9991 might help.)
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