1. Check each report/childreport and make sure that the Report.DataPipeline property is assigned OR AutoStop is set to True. 2. Try setting all Detailband.PrintHeight to phDynamic. It may be that you have a fixed height detail band that is too large to print on a page. 3. As a test, try commenting out all event-handler Full Article…
Search the Wiki
How To…Toggle Page Orientation
Question “How do I toggle the page orientation from the preview window?” Solution Create a preview plugin that creates a new button to alter the page orientation of the report and regenerate when clicked. Download: ToggleOrientationPlugin.zip Sample Delphi code: type TmyToggleOrientationPlugin = class(TppPreview) private FOrientationButton: TppTBXItem; procedure OrientationButtonClickEvent(Sender: TObject); public procedure CreateToolbarItems; override; end; implementation Full Article…
How To…Toggle DrillDowns
Question “How do I expand or collapse all drilldowns from the preview window?” Solution Create a preview plugin that adds a new button to the main toolbar. When this button is clicked call the TppReport.ExpandDrillDowns or TppReport.CollapseDrillDowns as needed and regenerate the report. Download: PreviewAndToggleExpandAll.zip Sample Delphi code: type TMyPreviewPlugin = class(TppPreview) private FCustomButton: TppTBXItem; Full Article…