Solved

Delphi REport Builder

Posted on 2014-04-07
14
1,008 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
  • 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
 

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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now