Have you made sure that the Datamodule is in your uses clause of the
QuickReport

-----Original Message-----
From: Dave McIver [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 11 June 2000 20:00
To: Multiple recipients of list delphi
Subject: [DUG]: Quick Report and TDataModule


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.




CAUTION - This message may contain privileged and confidential information intended 
only for the 
use of the addressee(s) named above.  If you are not the intended recipient of this 
message you are 
hereby notified that any use, dissemination, distribution or reproduction of this 
message is prohibited.  
If you have received this message in error please notify Progressive Enterprises Ltd. 
immediately via 
email at [EMAIL PROTECTED]  Any views expressed in this message 
are those of the 
individual sender and may not necessarily reflect the views of Progressive Enterprises 
Ltd.

This footnote also confirms that Progressive Enterprises Ltd. has swept this email 
message for the 
presence of computer viruses.  This does not guarantee this message is virus free.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to