Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Quick Report Preview

59 views
Skip to first unread message

Ellis

unread,
Feb 4, 2004, 5:03:42 PM2/4/04
to
Hi :)

I want to know, why does sometime the print button of a QuickReport preview
is not enabled ?

What can be causing this ?

Ellis


JD

unread,
Feb 5, 2004, 1:15:36 AM2/5/04
to

"Ellis" <ellis....@integratik.qc.ca> wrote:
> [...] What can be causing this ?

QuickReports is a set of very buggy components. Borland doesn't
even ship it any more with new releases. That said, their website
has a FAQ that you can download in .rtf format. There may be a
work-around in there somewhere.

~ JD

Frank Gruber

unread,
Feb 5, 2004, 7:52:46 AM2/5/04
to
> I want to know, why does sometime the print button of a QuickReport
preview
> is not enabled ?

To prevent yourself from hitting the next problems after you solved this
one I would suggest to simply drop QuickReport and look out for
something different. There are some much better components around
there.

Frank.


Vladimir Stefanovic

unread,
Feb 5, 2004, 9:17:07 AM2/5/04
to

I had the same weird behavior when I developed apps with BCB5 and
tried to print in WinXP. When running the same app on Win98 everything
was OK.

I'm now using BCB6 and WinXP, and the icon is (thanks to God) always
enabled.

Now I do not even try to understand why something works wrong in QR
because there are so much bugs in QR, and I have only one life to find out.


john blackburn

unread,
Feb 6, 2004, 5:25:54 AM2/6/04
to
Ellis wrote:


Here is an extract from QuSoft's FAQ file which might be relevant to
your problem :-

------------------
Q. I create my reports using this method:
QuickReport.Prepare;
QuickReport.QRPrinter.Preview ;
QuickReport.QRPrinter.Free;
QuickReport.QRPrinter := nil;
Now the navigation buttons in the print preview do not work.
A. When used with Prepare, the Preview method returns immediately. This
code would have freed the data being used by the preview. The Free and Nil
lines should be removed. If you want the code to wait until after the
preview has executed, just put a wait loop that waits until the qrprinter
has been freed:
Example:
repeat
Application.ProcessMessages
until QuickRep1.QRPrinter = nil;
------------------

I guess in C++ the final statement would be :-

while (QuickRep1->QRPrinter) Application->ProcessMessages();


I appreciate what the others are saying but I have managed to get along
with QuickReport so far (I use XP, 2000 and NT4). Mind you I don't stretch
it in any way; I do as much as I possibly can in the SQL query I run to
prepare data for QuickReport, and use QuickReport as simplistically as I
can. Also, I have not tried export filters as yet; what are your
experiences with this ?.

My philosophy is to encapsulate the reports as much as I can so as to make
a transition to another report generator, should it become necessary, as
painless as possible.

I hope you solve your problem O.K


John

0 new messages