Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create a report programmatically
Message
From
09/10/2003 11:07:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
09/10/2003 08:23:29
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00836728
Message ID:
00836900
Views:
11
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform