Can anyone help?? I am using QuickReport to generate a simple report based on a single table. The table is defined in the application as part of a datamodule, however setting the Dataset property of the QuickReport component does not seem to work (Eg:- DMDataMod.TableName where DMDataMod is the applications TDataModule and TableName is the name of the table on which the report is based). Conversely however, placing a TTable component directly onto the form containing the Quickreport, then setting the Dataset property to the TTable component on the form seems to work. I have checked to ensure that DMDataMod.TableName is Active however attempting to preview the report in design mode yields a blank Quickreport. The report previews correctly however if the table has been placed directly onto the form containing the Quickreport component. A similar approach to one I have attempted to do unsuccessfully, has been used in the MastApp exapmle that comes with Delphi. The difference being, it works in the example!! I am using Delphi 4.0 Client/Server and QuickReport 3.0 Any suggestions from anyone would be appreciated. Dave McIver. |
- RE: [DUG]: Quick Report and TDataModule Dave McIver
- RE: [DUG]: Quick Report and TDataModule James Sugrue