Solved

Delphi 7 :: Rave Report Access Violation

Posted on 2007-12-04
6
1,872 Views
Last Modified: 2013-11-23
Dear Experts,

Excuse me but I first want to get rid of my frustration.
What the hell is it with Delphi and their reports, first QuickReports which tend to be fuzzy and buggy
and now Rave Report which is not really that much better on that particular level...

Ok, now I feel better.

I had an event which tested a field's value and based on that it hide or showed a band.
In my database, I changed that particular field's name and then when I tried to preview my report in design mode, I received an access violation. I immediately remembered that I have made field name changes and the refreshed my Dataview in rave report to update the fields names, which it did.

I also located the event code and changed the field name to the correct name.
But I can not save or preview this report, it keeps on giving me a AV error.
"Access Violation at address 02213E5E in module 'RvEngine50.bpl' Read of Address".

I have worked nearly two days on this report and now it seems like I will have to do it all over again.
Am I just blatantly stupid or is Rave Report a little buggy?


Does anyone have some ideas on how to fix this AV?
Is there any other good free reporting components for Delphi?
Must have barcode label though.

Thanks in advance.
0
Comment
Question by:Marius0188
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 

Author Comment

by:Marius0188
ID: 20402713
And I have uninstalled and reinstalled Rave components in Delphi 7. The AV still exists.
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaa!!!!!
0
 
LVL 14

Accepted Solution

by:
SteveBay earned 250 total points
ID: 20403057
I don't use Rave so I don't know any specifics, however I would try to right-click the report form and choose "View as text". Then search for your old and new field names and see if any thing is found. This may not be the answer but could help give some clue to what is going on.
0
 

Author Comment

by:Marius0188
ID: 20403322
Hi peopel,

I got it sorted.
It looks like, can not say definitely, when you have changed or even remove (clear) an events code, you need to click to compile button afterwards and then save your report.

I have cleaned all event code but did not click the compile button, although when you look at the event the code does not appear but I believe that rave report do not see the changes until you have click the compile button.

At least that is my findings under a limited time constraint.

Thanks!
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 21

Assisted Solution

by:developmentguru
developmentguru earned 250 total points
ID: 20403485
You are correct about needing to recompiile.  I have found form my own experiences that it can help to go to a control that has no code defined and compile there.
0
 

Author Comment

by:Marius0188
ID: 20409420
SteveBay, your lucky day. :)
I will give you the points seeing that you have replied first.

Congrats!!!
0
 

Author Comment

by:Marius0188
ID: 20409423
Mmh, now I have a problem because I when submitted my comment developmentguru's comment was not there yet.

I wil split it then.

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question