Question “How do I load report templates from a database?” Solution Reports can be saved to a database at design-time or run-time. First, create a database table that contains a BLOB field for storing the templates and a string field for storing the name of the templates:For this example let’s create a table called reports Full Article…
Search the Wiki
How To…Implement Event-Handlers for Report Templates
Question “How do I implement event-handlers for report templates?” Solution The best solution is to code the calculations and event-handlers in RAP, the run-time Pascal coding evironment included with ReportBuilder Enterprise. RAP enables the event-handler code to be saved in the .rtm templates as part of the report definition. If you use Delphi event-handlers as Full Article…
How To…Display Report Open/Save dialogs
Question “How do I displaying report Open/Save dialogs?” Solution The Report.Template object has several events that can be used for customizing what happens when a report is loaded or saved: OnLoadStart OnLoadEnd OnNew OnSaveStart OnSaveEnd The OnLoadEnd and OnNew events are often used to perform actions related to report and data initialization. The OnSaveEnd event Full Article…