Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add Summary Band in Code
Message
From
26/09/2016 15:19:23
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
26/09/2016 15:16:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01641358
Message ID:
01641367
Views:
25
>>>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.


?SET("ReportBehavior")

should do, (and it is ReportBehavior)
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform