Question “How can I implement a standard header and footer for all of my reports? Solutions 1. When implementing form based reports, you can use Delphi’s form inheritance to create a base report layout Notes: Do not use inheritance for the DataPipelines, unless you set AutoCreateFields to False. Do not use Delphi form inheritance for Full Article…
Search the Wiki
How To…Skip First X Labels
Question “How can I skip the first X number of labels on a sheet, so that my users can reuse label sheets?” Solution The following exmple shows how to use the DetailBand.BandsPerRecord to to skip X number of labels. Download: SkipLabels.zip Download: SkipLabelsLeftToRight.zip Sample Delphi code: procedure TForm1.btnPreviewClick(Sender: TObject); begin // get number of labels Full Article…
How To…Repeat Labels
Question “How can I print X number of labels for each record?” Solution This example shows how to use the DetailBand.BandsPerRecord property to print X number of labels for each record. Download: RepeatLabels.zip Sample Delphi code: procedure TForm1.ppDetailBand1BeforePrint(Sender: TObject); var liCount: Integer; begin {check BandsPerRecordCount, it resets to 1 when all bands for the prior Full Article…