ReportBuilder 15 with Delphi XE4: Reports are empty - delphi

I am migrating my code from Delphi 7 (ReportBuilder 12) to Delphi XE4 Enterpirse (ReportBuilder 15). To my wonder, when I click on Preview button to see load the reports, reports are appearing empty while in delphi 7 reports are showing data.
I don't think there is any error with code because its running fine there in Delphi 7. Is there any setting/configuration missing on my end? What and where should I check for it?

That is quite a version leap you are making here: Delphi 7 to XE4 and RB12 to RB15!
I would compile Reportbuilder15 with debug info and trace what is happening in RB, because i think there are so many places where something is changed, it is close to impossible to pinpoint one specific place to look.

This was not a reportbuilder issue but database issue. Infact the application which I migrated to Delphi XE4, was not able to pick data from database, that's why report were showing empty.

Related

Delphi IDE some panels are missing

I'm using Delphi 11 and many time when I click the "Run without debugging" button, my program starts to execute. When I close my program, some Delphi IDE panels are missing. It looks like this:
This is my Delphi IDE version.
Is this a bug or a configuration? I can't find an option that controls this behavior. I can't make the missing panels show up again, and I have to restart the IDE.
This is a known bug in Delphi 11. Fix for this issue will be released with 11.1 update.
Quality Portal Report RSP-35481

TeeChart ActiveX 7 issue

I have got an issue in a legacy project that uses TeeChart 7 ActiveX.
Unfortunatelay this project is stuck to this old version.
Is there a real chance to get a fix to be able to run at least the most recent V 7 ocx ?
The issue is: Exporting data from one application as native and importing from another application will cause the importing application to crash. It works once or twice, then this effect happens.
The problem came with version > 7.0.0.6. That means in 7.0.0.6 it works perfect, with higher versions it doesn't.
I have received your project.
We have sent you an email where we have explained that problem you’re experiencing doesn’t appear in TeeChart Activex v7.0.1.6 published 4 years ago, and neither in TeeChart Activex v2016.0.0.2. Therefore, the problem is fixed for latest Teechart Activex releases and we would like suggest you, update your version to fix it.

Why In Delphi 5 showing Dsgnintf.dcu not found error [duplicate]

This question already has answers here:
Designintf.dcu not found in custom component
(3 answers)
Closed 8 years ago.
hi I tried one component code in Delphi 5. and got Error DsgnIntf.Dcu not found.
Actually I was transferring my Code from Delphi 5 to Delphi XE5. In Delphi XE5
while running I got error DesignIntf.dcu not found .
I tried all way replace DesignIntF, Design Editor and all.
I got response that 'Delphi after Delphi 6 not redistributed this Designtime code'.
then at last I Tried it on Delphi 5 for testing . in that version Dsgnintf.dcu
should not come.
I think Not Redistribution but another problem in it. can get direction regards this ?
thanks
abhishek mestri
DsgnIntf.Dcu is a part of ToolsAPI. Now in newer versions of Delphi this file has been replaced by DesignIntf.pas.
Based on information on site below replacing references from DsgnIntf to DesignIntf solves the problem most of the times. But I would not count on this as there were lots of changes from Delphi 5 to Delphi XE5. Here is the link to the site:
http://www.delphifaq.com/faq/delphi/vcl/f266.shtml
EDIT: ToolsAPI by default wasn't available in Personal editions of Delphi. This unfortunately mean that for those of you who own Personal edition of Delphi my answer won't help.
Newer versions of Delphi use Open Tools API which are available in all Delphi editions so there is no more restriction for you to own athleast Proffesional Edition to use it. I'm not sure in which Delphi version was this change made.

Is there a workaround for the error-insight bug in the IDE?

XE2 will mark an error in the editor, usually about missing member functions (as shown in the picture). However it wil compile OK and the code will run just fine.
If you ask for a list using CTRL + SPACE it will give the correct list.
Is there a workaround/solution for the above bug in the Delphi XE2 IDE?
In such a way that I don't get incorrect markings for errors in the editor?
Note that this question: Delphi XE2 background IDE compiler unable to find source path signifies why the error is there, but does not list a solution.
Solution, thats works for me in Delphi 2007, XE2 and 10.2.x Tokyo:
Compile/Build your project
Close your project (Files -> Close all)
Reopen your project
The wrong error marks should have gone away now, at least for a while... :-/

How to debug a delphi 2006 clientDataSet if at all possible

Over the last few days we have seen random access violations being raised on Delphi 2006 using the ClientDataSet when loading an XML block but the errors disappear when using CodeGear 2007 rad Studio.
I have a strange feeling that this is going to come back and haunt us in the future.
So, how can I debug the xml load procedure for a clientdataset.LoadFromStream method?
I can see it is defined in dbclient.pas but I cannot seem to find the xml processing section.
JD
I don't know if you've tried this already, but it's entirely legal (and supported) to use the Delphi 2007 version of midas.dll with a Delphi 2006 application. Since Embarcadero did fix some DataSnap bugs in Delphi 2007, there is some possibility that the errors you are seeing are caused by a Delphi 2006 bug. It is worth a try to substitute the 2007 version of midas.dll with your Delphi 2006 application and see if the errors go away. It might not fix the problem, but it will save you a lot of trouble and frustration if it does.
it been a while since ive been on 2006 but if i remember right
turn on debug packages then you should just be able to step into it
As far as I know the LoadFromStream cannot be used to load XML files, the data in the stream should be in the internal format used by the client dataset. Try setting the XMLData property instead.

Resources