?
Solved

Delphi REport Builder

Posted on 2014-04-07
14
Medium Priority
?
1,132 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

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…
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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

764 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