I thought this was initially the case, but every once in a while the PreviewModal will die on the very first launch.
The dying on the first launch becomes much more frequent if I attempt to use anything like Sleep, ProcessMessages, or event looping through the forms to check for the existence of the form.
 
The odd bit is we never had this problem with D6.
 
Regards
Paul McKenzie
SMSS Ltd.
Wellington
New Zealand
----- Original Message -----
Sent: Tuesday, November 16, 2004 9:18 AM
Subject: RE: [DUG] QuickReports

For a similar problem a while back, I recall having to add a wait loop after calling showmodal and before freeing the quickreport.
 
Something to do with QR still being busy after the showmodal. I don't have the code at hand but can dig it up if needed.
 

Regards,

Steve Barker
Webdata Ltd
ph +64 9 4103074

 


From: Paul McKenzie [mailto:[EMAIL PROTECTED]
Sent: Monday, 15 November 2004 4:06 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] QuickReports

I appears that PreviewModal is the problem - found some other info on the net that said PreviewModal was unstable - use Preview.
This would appear to be the case - preview works fine...
(I can live without the Modelness).
 
Regards
Paul McKenzie
SMSS Ltd.
Wellington
New Zealand
----- Original Message -----
Sent: Monday, November 15, 2004 11:21 AM
Subject: RE: [DUG] QuickReports

OK. There was an issue with D6 and Quick Reports doing this. Maybe if you delete your .dcus and do a  build all? If not then try the latest version of Quick Reports standard which I am pretty sure is a free download.

 

I had this problem under d6 and doing the above fixed the problem from memory. It was a couple of years ago though.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul McKenzie
Sent: Monday, 15 November 2004 10:52 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] QuickReports

 

Delphi 7 and the QuickReports that comes with it

This App has been upgraded from D6.

Regards
Paul McKenzie
SMSS Ltd.
Wellington
New Zealand

----- Original Message -----

From: James Sugrue

Sent: Monday, November 15, 2004 10:38 AM

Subject: RE: [DUG] QuickReports

 

What version of quickReports and what version of Delphi?

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul McKenzie
Sent: Monday, 15 November 2004 10:22 a.m.
To: Delphi List - Delphi
Subject: [DUG] QuickReports

 

I have an App that Launches a  QuickReport (PreviewModal) - this works fine except that if the user Opens & Closes several times approx 4-5 the QuickReport will generate an AV.

 

This, according to the Net, is to be expected :-()

The solutions appear to be  pause the App for a little bit ...

I tried Sleep this made it worse - the QuickReport would cause an AV after 1-2 Opens & Closes

 

I am using the standard PreviewModal to let the users display and print the Report - I don't want to try writing my own especially as I may end up with the same problems...

 

Any ideas

 

Regards
Paul McKenzie
SMSS Ltd.
Wellington
New Zealand


_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.792 / Virus Database: 536 - Release Date: 9/11/2004


_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to