Error on compile
Hi
I have a report that is based on a rather large table. The report has
several programs/functions in it. These all compile okay in the first
instance. It appears that as the report gets larger these suddenly do not
compile any longer. If I go into one of these fucntions and make any small
change it results in an access violation on the compile. We are using
Delphi4. Any ideas as to why this may happen would be greatly appreciated.
Thanks
Julie
I have a report that is based on a rather large table. The report has
several programs/functions in it. These all compile okay in the first
instance. It appears that as the report gets larger these suddenly do not
compile any longer. If I go into one of these fucntions and make any small
change it results in an access violation on the compile. We are using
Delphi4. Any ideas as to why this may happen would be greatly appreciated.
Thanks
Julie
This discussion has been closed.
Comments
This could be due to a number of items. As a test, try commenting out your
event handlers and see if you still receive the AV error. Since this is a
large report, be sure you have the correct memory requirements to support
such a report. If you are still having an issue, please feel free to send
an example of your app to us for further testing.
support@digital-metaphors.com
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for this, I tried commenting out several events, changed small items
and recompiled these functions. Four times the compile succeeded and then
the fifth time I got the access violation. It is a very large app and this
particular table is being built in the background, making it difficult to
isolate and send a sample. However we have a lot of reports and this is the
first time I have seen this happening.
Julie.
Which version of ReportBuilder/Delphi are you using? Are you using RAP for
your event handlers?
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
We are currently using Report Builder Enterprise 5 with Delphi 4. Yes we are
using RAP.
Thanks
Julie
I noticed in one of your previous posts that you are creating a table in the
background. This could be what is causing the AV error as all versions of
RB before 7.0 were not thread safe. Try disabling the background table
creation and see if that helps. Also, if you have access to a version of
Delphi 5, 6, or 7, you might try downloading a trial edition of RB 7.03
Enterprise and testing with that. RB 7.03 is completely thread safe.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com