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 is often used to Full Article…
Search the Wiki
Viewing 265 to 267 of 409 items
How To…Troubleshoot Lost Event Handlers
Question “How do I troubleshoot lost event handlers?” Solution Let’s assume you have created a report in Delphi and assign an event handlers to the OnPreviewFormCreate event of the report. The event is generated by Delphi as: Sample Delphi code: procedure TForm1.ppReport1PreviewFormCreate(Sender: TObject); You then save the report to an RTM file ‘Report1.RTM.’ The events Full Article…
How To…Troubleshoot Error Loading Report From Database
Question “How do I troubleshoot error loading report from database?” Solution Check the BDE configuration setting for BlobSize. This value defines the maximum size for a blob. The default value is 32, which is too small for most reports. Increase the size to 1024 or 2048 to accommodate your largest report definitions. If you are using Full Article…