Debugger Exception Notification

Why is it when i close quick report during or after print i get
the window :

Debugger Exception Notification

with :
Project Project1.exe raised exception class EAccessViolation with message
'Access violation 00000000'.Process stopped.Use Step or Run to continue.

This happens when I print a record from database (ADO) ...

LVL 22
Who is Participating?
kretzschmarConnect With a Mentor Commented:
seems you want to access any object,
that is already destroyed
senadAuthor Commented:
perhaps you're right:
I had
after print....
So I was closing a nonexistent component ...
Removed this line and it seem's to work ok...
Ferruccio AccalaiSenior developer, analyst and customer assistance Commented:
-->seems you want to access any object,
that is already destroyed

Meikl is right.

The quickreport Close button perform the Parentform close too....
Maybe you're trying to free it again in onclose, or simply ur trying to destroy objects owned by the quickreport (so already destroyed)....
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.