I suppose I multipass report is one that builds the report in passes.
Say you add a summary field in a footer band. Well that value is not available until
the band has printed. Now suppose you want to know the % of the row just printed
against the summary value. Well you would need to calculate the total and then you
calculate the % for the row.
Say you have this
10/5/90 Chris Crowe $100.00
10/5/90 Test Case $200.00
10/5/90 John Smith $100.00
===========================================
3 $400.00
But you really want this
10/5/90 Chris Crowe $100.00 25%
10/5/90 Test Case $200.00 50%
10/5/90 John Smith $100.00 25%
===================================================
3 $400.00 100%
I do not think you can do this without a multipass report generator. Since the total
400 needs to be known at the time the first line is generated.
I suppose you also could use it when you need to know the total number of pages so you
can use "Page 1 of 45" etc...
I could be wrong, but this is what I think it means.
Chris
Christopher Crowe (Software Developer)
Microsoft MVP, MCP
Adrock Software
Byte Computer & Software LTD
P.O Box 13-155
Christchurch
New Zealand
Phone/Fax (NZ) 03-3651-112
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Mark Howard
> Sent: Thursday, 13 May 1999 20:04
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: Multi pass QR reports
>
>
> Thanks Tony (and Chris)
> I will try it out tomorrow.
> I suspected that I might have had the wrong terminlogy - what is
> the difference
> between what you have described (which is what I need) and a
> multi-pass report?
> Mark
>
> Tony Blomfield wrote:
>
> > Mark, as far as I am concerned, the short answer is you dont.
> QR is not a
> > multipass report generator, but anyway I think you are mis
> using the term
> > slightly here.
> >
> > I suspect that you are really interested in the QR subdetail component.
> > Basically you have 1 or more queries on your report, each one
> connected to a
> > QRSubDetail.
> >
> > The QRSubDetail can have their own footer and header bands, and its own
> > dataset. Each TQuery (Dtaset) can have a totally independant result set.
> >
> > Effectivly you can wind up with multiple totally unrelated
> reports on the
> > one page. Is that what you want?
> > -----Original Message-----
> > From: Mark Howard <[EMAIL PROTECTED]>
> > To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
> > Date: Wednesday, 12 May 1999 08:01
> > Subject: [DUG]: Multi pass QR reports
> >
> > Hi All
> >
> > Help again please.
> > I have a client that is asking for a report which I think is going to
> > require multiple passes through the data.
> > What is needed is essentially 3 separate reports on the one page, with
> > only one field linking them, ie client number
> > Does QR allow this? and is someone able to send me an example of how it
> > is done?
> > TIA
> > Mark Howard
> >
> >
> ------------------------------------------------------------------
> ---------
> > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> > Website: http://www.delphi.org.nz
> >
> >
> ------------------------------------------------------------------
> ---------
> > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> > Website: http://www.delphi.org.nz
>
>
>
> ------------------------------------------------------------------
> ---------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz