Solved

Delphi REport Builder

Posted on 2014-04-07
14
1,059 Views
Last Modified: 2014-04-09
Hi Experts

Don't know what I have done but the Delphi 2007 Report Builder 14.08 is giving me an error when compiling

It Adds raCodMod to the uses section attached it the screen shot

It was OK Last week but now it has this error
I have a large amount of reports that use Report Builder

Awaiting reply
Kevin
error.jpg
0
Comment
Question by:Kevinfeening
[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
  • 7
  • 7
14 Comments
 
LVL 14

Expert Comment

by:Pierre Cornelius
ID: 39985256
Try a rebuild instead of compile.
0
 

Author Comment

by:Kevinfeening
ID: 39985285
Hi Pierre

There is only compile or Build under project menu and both give errors
unable to find a rebuild option

Thanks
Kevin
0
 
LVL 14

Expert Comment

by:Pierre Cornelius
ID: 39985333
I was referring to build. I just meant you should try to build it again. Semantics.

Have you recently updated the component? I have had those errors before when updating a component. Try removing the component from delphi, and adding it again. Build the component again if you have the sources.

My understanding of the issue (I will try explain best I can) is that at some point a certain unit was compiled (and dcu created) and now another unit is relying on that unit but the source it links to is different to that used when the dcu was created. Most likely Delphi is finding an earlier compiled dcu from your search path i.e. in a different location to the one you intend to use (latest component version). You should also look at your library paths.
0
Independent Software Vendors: 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!

 

Author Comment

by:Kevinfeening
ID: 39985555
no comment intended I am not savvy with the Delphi structure

The component has not been updated in 12 months

Is there any other option than removing and reinstalling

I have the original component but do not know how to remove and reinstall
0
 
LVL 14

Expert Comment

by:Pierre Cornelius
ID: 39985580
Please do a search for all raParser.dcu on your computer and post results here.
0
 

Author Comment

by:Kevinfeening
ID: 39985671
Attached is the search

I currently run Delphi5 and 2007

If you need me to change and 2007 libraries etc could you give me detailed info


Thanks
search.jpg
0
 
LVL 14

Expert Comment

by:Pierre Cornelius
ID: 39985713
From that screenshot it is clear you have 2 different versions of the dcu. When using Delphi7 be sure that the path to your dephi5 is not included in the library path nor in the search path.
0
 

Author Comment

by:Kevinfeening
ID: 39985720
As I asked Where do I check the path
0
 
LVL 14

Expert Comment

by:Pierre Cornelius
ID: 39985788
I don't have Delphi 2007. On my Delphi 2009 it is under Tools menu, Environment options, Delphi Options, Library - Win32

And then also under Projects menu, options, DElphi Compiler, Search Path.
0
 

Author Comment

by:Kevinfeening
ID: 39985896
Copy of options

projects menu path was blank
Options.jpg
0
 

Author Comment

by:Kevinfeening
ID: 39987350
Library Path

$(BDS)\lib;$(BDSUSERDIR)\Imports;$(BDS)\Imports;$(BDS)\Lib\Indy10;$(BDSCOMMONDIR)\Dcp;$(BDS)\RaveReports\Lib;$(BDS)\RBuilder\Lib;C:\DELPHI7\CodeGear\RAD Studio\5.0\RBuilder\Source;c:\kevin\pdf\powerpdf

Debug DCU Path

$(BDS)\lib\Debug;$(BDS)\Lib\Debug\Indy10;$(BDS)\RaveReports\Lib;C:\DELPHI7\CodeGear\RAD Studio\5.0\RBuilder\Lib
0
 
LVL 14

Accepted Solution

by:
Pierre Cornelius earned 500 total points
ID: 39988043
Should this
C:\DELPHI7\CodeGear\RAD Studio\5.0\RBuilder\Source

not be
C:\DELPHI7\CodeGear\RAD Studio\5.0\RBuilder\Lib ?


The bottom line is that somewhere the compiler is picking up the older version of that dcu. As I said before it could be under your environment settings or it could also be under your project options. You need to figure out where it is.
0
 

Author Comment

by:Kevinfeening
ID: 39988054
I found that the problem is in 2 reports only all others are correct
I rebuilt them and now are OK

Thanks for Your assistance
0
 
LVL 14

Expert Comment

by:Pierre Cornelius
ID: 39988056
Glad you came right. Good luck.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi: how to implement a User Shortcut mapper? 1 133
Show Listview image from database (String field) 5 143
CheckListBox usage 3 80
Multi-layered image in FireMonkey 9 67
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

735 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