Solved

Delphi REport Builder

Posted on 2014-04-07
14
1,030 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
ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

 

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 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