This may be of interest.

Nello kindly found that some of the TQRGroups, while in the .DFM file, were
NOT declared in the .PAS file.  When these were restored, everything was
fine.

I have now found that MANY of my reports have one or more TQRGroups
undeclared in the .PAS file and wondered how that could be happening.

Some testing has revealed that if (in the form view) I double click on a
TQRGroup, the declaration for that group is erased.  The group is still
there on the form and in the DFM file.  You can still lay other components
on it and set its properties at design time but you cannot reference it to
set any properties at run time.

The reason for my double clicking  on these groups is that my mouse
sometimes gives me a double when all I've wanted is a single click (maybe
it's my shakey old hand!).

But that begs the question - Why does the declaration get wiped?

Mark

----- Original Message -----
From: "Nello Sestini" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Tuesday, October 17, 2000 5:24 PM
Subject: Re: [DUG]: Quick Reports - Force New Page


> Mark
>
> I remember your thread from last time and followed it with
> some interest.
>
> Can you email me the .pas and .dfm file pair that give you
> this error?
>
> Or better would be to put them on a web/ftp server somewhere
> where anyone on the list could have a look.   Just don't
> post the files themselves to the list.
>
> -ns
>
>
> -----Original Message-----
> From: Mark Howard <[EMAIL PROTECTED]>
> To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
> Date: Wednesday, October 18, 2000 05:36
> Subject: Re: [DUG]: Quick Reports - Force New Page
>
>
> Woops!
> No - that WASN'T the problem.
> After 1 or 2 further builds (in which nothing substantial has changed) I
> again get the error saying "Undeclared identifier in QRGroup4" in a line
> which reads
>       QRGroup4.expression := '';
> The Group HAS been declared in the Report.
>
> This time re-installing QR 3.0.7 doesn't fix it, although it appeared to
> (temporarily) when I upgraded from QR 3.0.5 - just before I posted the
> message below.
>
> Does anyone have any ideas?  This is getting a mite frustrating.
>
> Mark
>
>   ----- Original Message -----
>   From: Mark Howard
>   To: Multiple recipients of list delphi
>   Sent: Wednesday, October 18, 2000 11:08 AM
>   Subject: [DUG]: Quick Reports - Force New Page
>
>
>   Hi
>
>   2-3 weeks ago I posted a problem in which Quick Reports was not
> recognising a TQRGroup for which I was trying to set the ForceNewPage
> propety to true in the ReportBeforePrint event.
>
>   I have discovered that it was a problem with QR3.0.5.  I have just
> downloaded QR 3.0.7 and the problem has gone away.  We are talking QR as
> shipped with D5 here.
>
>   In case anyone else has had problems.
>
>   Mark
>
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to