Board index » delphi » QuickReport 2.0: single record report ?

QuickReport 2.0: single record report ?

How can i create a single record report with QuickReport 2.0 ?

With QR 1.0 it was possible to leave the DataSource property of the
TQuickReport instance nil but it doesn't work with the DataSet properties
of QR 2.0.

Volker

 

Re:QuickReport 2.0: single record report ?


On 06 May 1997 19:42:00 +0200, vol...@janus.free.de (Volker Wilhelm)
wrote:

Quote
>How can i create a single record report with QuickReport 2.0 ?

>With QR 1.0 it was possible to leave the DataSource property of the
>TQuickReport instance nil but it doesn't work with the DataSet properties
>of QR 2.0.

>Volker

Volker,

What I did was this:

I had a master-detail set of tables on the main form.  One of my key
fields has a record number.  So when I started the quick report, in
the FormCreate method, I check to see which record number is selected
on the Main form.  Then I call ApplyFilter on the master table on the
Qrpt.  This selects the record I'm interested in and gets rid of the
rest.  

david sampson

dsamp...@atlanta.com

Other Threads