[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Delphi REport Builder

Posted on 2014-04-07
14
Medium Priority
?
1,170 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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

650 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