Question “Is it possible to use Delphi DataModules with my ReportBuilder application?” Solution As a rule of thumb, DataModules should be primarily used to contain abstract data objects such as Tables, Queries, and DataSources. DataModules are also a good place to place DataPipelines as the TppReport object on the main form of your app will Full Article…
Search the Wiki
How To…Create a DataPipeline in Code
Question “How do I create a DataPipeline in code?” Solution Datapipelines can easily be created dynamically in code by assigning a few key properties. Create the TppDBPipeline object: FDataPipeline := TppDBPipeline.Create(Self); Give the pipeline a recognizable name. FDataPipeline.Name := ‘plCustomers’; FDataPipeline.UserName := ‘Customers’; Assign the DataSource property. FDataPipeline.DataSource := dsCustomers; Assign any other properties you Full Article…
How To…Check For Data Before Printing
Question “How do I check if there is data to be retrieved before printing my report?” Solution Check the TppDataPipeline.EOF and TppDataPipeline.BOF properties. If both of these properties are True, the dataset contains no data. Note that the datapipeline will need to be opened to successfully access these properties. Download: CheckForDataBeforePrinting.zip Sample Delphi code: function Full Article…