Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add Summary Band in Code
Message
 
 
To
26/09/2016 15:12:51
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01641358
Message ID:
01641366
Views:
32
>>Hi,
>>
>>Do you know if it is possible to add a Summary Band to a report, from VFP code? A customer wants a certain note to be printed at the bottom of certain reports (these are more like forms than reports although they can span over more than 1 page). I think that the way to do it is to dynamically (in code) add a Summary Band to these reports (for this customer). The summary could have a label or a text placeholders that will get the text/value from a .txt file. But how do I add a Summary Band in code?
>>
>>TIA
>
>Dimitry,
>
>an other approach:
>
>Assuming you use REPORTBEHAVIOUR 90
>
>Generate a second report fpr summary only. Calculate all data that belongs to this outdife the report. In case the user switches the summary band on, run the reports as chained.
>
>They come out as one report in preview and printer.
>
>I do this, but its deep buried into a factory, so I would need to have a closer look if you like it.

I don't have REPORTBEHAVIOUR specified. Should I assume that it is set to 90 by default?
I have never done the 'chained' reports; I will look into VFP help on how it works. If it does not take a lot of your time (I hate to impose), let me know on how you do it.
Thank you, Lutz.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform