Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combine reports
Message
From
20/07/2003 18:33:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00811872
Message ID:
00811873
Views:
7
>I want to create about 10 different sections for a report. Then print a single report depending on the users preference. How would I go about doing something like this.
>
>TIA,
>Earl

I have done the following only for two separate detail bands. Adapting it to 10 detail bands will probably be much work, but it can be done:

In the detail band, put one row of fields for "subreport 1", one row of fields for "subreport 2", etc.

In each field, use conditional printing.

Of course, this workaround is required because VFP doesn't explicitly support the "subreport" or "report section" option.

You have some other options too:
  • Use a different reporting tool. Many users here use Crystal Reports, but I don't use it, and I don't know whether it has this particular capability.
  • Generate HTML output. This is actually fairly easy, once you understand the basics.
  • Use Automation, and produce the report in Word or in Excel.

    HTH,

    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