On Tue, 10 Jun 2003 13:41:46 +1200, you wrote:
Hi All
I'm trying to give my users the ability to display (and print) previously
run and saved Quick Reports (ie .QRP files).
I must admit that (among other things) the structure of QuickReports
has been a considerable mystery to me.
I have
Big chocolate fish
for Jeremy, but thanks to everyone for their
help with this problem yesterday afternoon. Don't know what I'd
do without this group.
Jeremy's solution
works just fine - does what I want with no AV's
or leaks
BUT...
does anyone
know how to enable the Printer Settings
Mark,
you don't need to free the QR1 component - it is owned by the form and will
get destroyed when the form destroys.
regards,
Steve
-Original Message-
From: Mark Howard [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 10 June 2003 1:42 p.m.
To: Multiple recipients of list delphi
Mark,
I think I have found your problem. You are using Quick Reports. Get a new
report writer and you should be fine ;-).
Seriously tho the handling of QR1 looks strange to me. You aren't creating
it so presumably it is automatically being created by PreviewFrm? However
you do explicitly free
Hi Steve
If I comment out the line that frees QR1 I still get an AV.
:-(
Mark
On 10 Jun 2003 at 13:54, Stephen Barker wrote:
Mark,
you don't need to free the QR1 component - it is owned by the form and
will get destroyed when the form destroys.
regards,
Steve
-Original
Any reason you are creating this dialog with application as parent?
I remember some issue with temp path's being too long causing errors. This
might be it.
Anything in the destroy/free of the form you are creating?
Hanging try..finally block..
JED
[EMAIL PROTECTED] wrote on
What happens if you take the close out of the after preview event ?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Howard
Sent: Tuesday, 10 June 2003 2:04 pm
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Quick Reports Preview
Hi Steve
To:
Multiple recipients of list delphi Subject: RE: [DUG]: Quick Reports
Preview
Hi Steve
If I comment out the line that frees QR1 I still get an AV.
:-(
Mark
On 10 Jun 2003 at 13:54, Stephen Barker wrote:
Mark,
you don't need to free the QR1 component - it is owned by the form
: Tuesday, June 10, 2003 09:35
Subject: RE: [DUG]: Quick Reports Preview
Hi James
Same result - AV
Mark
On 10 Jun 2003 at 14:25, James Sugrue wrote:
What happens if you take the close out of the after preview event ?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
June 2003 2:35 pm
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Quick Reports Preview
Hi James
Same result - AV
Mark
On 10 Jun 2003 at 14:25, James Sugrue wrote:
What happens if you take the close out of the after preview event ?
-Original Message-
From: [EMAIL
I would use this. You have to use _PreviewModal_ in this instance.
if opendialog1.execute then
begin
QuickReport1 := TQuickReport1.Create(self);
try
QuickReport1.Prepare;
QuickReport1.QRPrinter.Load(opendialog1.filename);
On 10 Jun 2003 at 13:10, Jeremy North wrote:
I would use this. You have to use _PreviewModal_ in this instance.
if opendialog1.execute then
begin
QuickReport1 := TQuickReport1.Create(self);
try
QuickReport1.Prepare;
(if that doesn't work i will dig up some working
QR code)
-ns
http://www.roserox.co.th
- Original Message -
From: Mark Howard [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 09:35
Subject: RE: [DUG]: Quick Reports Preview
OK OK
if opendialog execute then
Create PreviewFm
PreviewFm.Showmodal
PreviewFm.OnShow
Do Jeremy's QuickReport1 stuff
all I'm tussling with now is where to close the PreviewFm
But, I thought I'd get this off before Jeremy or anyone else spends
anymore time on it.
All
No, just have the QReport(or whatever it is) unit in your uses clause.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Howard
Sent: Tuesday, 10 June 2003 3:51 pm
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Quick Reports Preview
On 10
I just went to File | New and selected Report from the repository. There
is no need to put it on a form.
QuickReport1 is just a form - in a way.
I had a button on my main form. It created the report and previewed it.
Email me off list if you want the
project I slapped together.
JED
16 matches
Mail list logo