Access Violation when setting ModalPreview := False;
I set the ModalPreview to false, Preview the report to screen, then close
the application without first closing the preview screen. When I do this I
get an Access Violation! Is there something I need to do first? I am using
.... can't tell you. I just tried to go to the Digital-metaphor website and
it is down. Anyway, I just pulled the latest Professional demo for D6
today. September 19, 2001.
Is this just a bug in the demo?
Please let me know ASAP as we are looking for a new report writer.
Thanks, Dave.
the application without first closing the preview screen. When I do this I
get an Access Violation! Is there something I need to do first? I am using
.... can't tell you. I just tried to go to the Digital-metaphor website and
it is down. Anyway, I just pulled the latest Professional demo for D6
today. September 19, 2001.
Is this just a bug in the demo?
Please let me know ASAP as we are looking for a new report writer.
Thanks, Dave.
This discussion has been closed.
Comments
component the Access violation stopped.
Is only one ppReport component allowed per Form, Application ???
Dave Hamdon
You are allowed to have mulitple report components on a form. I just dropped
two reports on a form, both Report.ModalPreview := False and previewed both
of them. I then closed the app without first closing the previewer. I
didn't get an AV.
What other code in in your project? You only get an AV when ModalPreview is
False? Can you send your example project to support@digital-metaphors.com
and we'll verify what is causing the problem.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
writer. Dropped on a couple buttons, report components and pipelines.
Designed, ran...great. Then decided to try the modeless and closing the
app. It av'd.? Then I deleted one of the report components and it stopped
AV'ing??? So I really don't know what I did.
As I said before I am just working with the demo right now.
Dave.
problem, let us know the requirements and we'll research it further. If it
happened at runtime, then it should be reproducable?
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com