 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Igor H Guest
|
Posted: Mon Oct 10, 2005 8:25 am Post subject: Delphi 2005, QR 4 & custom preview form? |
|
|
I'm stuck with converting an old project to Delphi 2005. It uses QR with
custom preview form based on the example, which can be found on the Qusoft
website.
The example as well as my project works perfectly in Delphi 5 & QR3, but in
Delphi 2005 & QR4 it doesn't and gives an access violation. This access
violation is made by TQRPrinter.Create, as in the QR4 a mandatory
"parentrep" parameter is required.
But how to make it, when the project contains a lot of reports and the
custom preview form is the same for all these reports (and it's registeres
using RegisterPreviewClass)? I didn't find a solution how to pass the
required parent report name to the preview form...
Thanks in advance,
Igor
|
|
| Back to top |
|
 |
Ottar Holstad Guest
|
Posted: Mon Oct 31, 2005 3:53 pm Post subject: Re: Delphi 2005, QR 4 & custom preview form? |
|
|
| Quote: | The example as well as my project works perfectly in Delphi 5 & QR3, but
in Delphi 2005 & QR4 it doesn't and gives an access violation. This access
violation is made by TQRPrinter.Create, as in the QR4 a mandatory
"parentrep" parameter is required.
|
I think the ParentRep parameter was introduced with QR 3.6.2, and as far as
I remember it's ok to just pass a nil
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|