>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.
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.
OffThere is no place like [::1]