Cannot Find Class tFrxMyDACQuery and tFRXMYDacTable Xe2 32

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Daniel Fagnan
Posts: 58
Joined: Fri 13 Oct 2006 00:08

Cannot Find Class tFrxMyDACQuery and tFRXMYDacTable Xe2 32

Post by Daniel Fagnan » Tue 27 Dec 2011 18:40

Yesterday I migrated my application from XE to Xe2
Only PRoblem At de Design Time When I tryed to modifiy my report
I received this message
Cannot Find Class tFrxMyDACQuery and Cannot Find Class tFRXMYDacTable in Xe2 32 bit

At Runtime No problem
With Xe At runtime and design time no problem
Someone Has this problem :?:

AndreyZ

Post by AndreyZ » Wed 28 Dec 2011 15:41

Hello,

Earlier MyDAC versions don't have FastReport packages for RAD Studio XE2. The latest MyDAC version 7.1.4 has FastReport packages for RAD Studio XE2. To solve the problem, you should upgrade to MyDAC 7.1.4. After MyDAC installing, you should also install FastReport 4 MyDAC Components. You can learn how to install FastReport 4 MyDAC Components from the ReadMe.txt file that is located in the %MyDACDemos\ThirdParty\FastReport\FR4% directory. Please perform these steps and inform us about the results.

Daniel Fagnan
Posts: 58
Joined: Fri 13 Oct 2006 00:08

The same result with Xe2

Post by Daniel Fagnan » Wed 28 Dec 2011 19:58

I remove all Mydac VCl Xe and Xe2
I reinstall clean Mydac 7.1.4
I copy thidparty FastReports Fr4 directly to
c:\FR4
I compiled all package inside Fr4\delphi16

I Ad to libraty PAth in delphi option c:\Fr4

At runtime inside Delphi xe2
But when I design fastReport And I add tFrxMyDactTable
It's Correct I saw my data but when I save and Close FastREport Designer
I received an error the Class TFrxMyTable cannnot found.
After that all tfrxMyDacTable or tFrxMydacQuery has removed from report ? :idea:

AndreyZ

Post by AndreyZ » Tue 03 Jan 2012 10:03

To solve the problem, you should drop the TfrxMYDACComponents component onto your form.

Daniel Fagnan
Posts: 58
Joined: Fri 13 Oct 2006 00:08

It's First thing then I done

Post by Daniel Fagnan » Wed 04 Jan 2012 17:10

In My Form I have TFrxMydacComponents
The problem is just in design mode
When I saved the reports all instance Of MyDacTable or MyDacQuery Has removed from the Fast report design form
If I add tMydacDatabaseName components only this components is not removed.

I followed the same install process for Delphi Xe with no problem
At desing and runtime , It's work normaly.
I used the same application for the test
Ok with Xe but Problem with Xe2 in design mode ?????? :cry:

AndreyZ

Post by AndreyZ » Thu 05 Jan 2012 11:25

Please try the following:
- remove FastReport 4 MyDAC components using the "Component->Install Packages" menu;
- close RAD Studio XE2;
- remove MyDAC;
- remove *dac*.bpl files from your computer;
- remove *.dcu files from your project;
- reinstall MyDAC;
- reinstall FastReport 4 MyDAC components.
If the problem persists after performing these steps, please specify the exact FastReport version you are using (for example, FastReport 4.12 Professional Edition).

Daniel Fagnan
Posts: 58
Joined: Fri 13 Oct 2006 00:08

I used Fastreport VCL Entreprise version 4.12 compiled 2011

Post by Daniel Fagnan » Thu 05 Jan 2012 23:52

- I remove FastReport 4 MyDAC components using the "Component->
Install Packages" menu;
- I close RAD Studio XE2;
- I remove MyDAC;
- I remove *dac*.bpl files from your computer;
- I remove *.dcu files from your project;
- I reinstall MyDAC;
- Ireinstall FastReport 4 MyDAC components.

I used Fastreport VCL Entreprise version 4.12 compiled 2011-11-1
I suspect that the problem is Fastreport because I read same type problem with version with fastreport embarcadero 4.12 ,
My version is XE2 Prof. Patch 3.
Someone used xe2 with fastreport other then embarcadero fastreport version.

AndreyZ

Post by AndreyZ » Mon 09 Jan 2012 16:39

You are right, this is not MyDAC problem. This problem is caused by FastReport. For more information, please refer to:
http://www.fast-report.com/en/forum/lof ... t8520.html
https://forums.embarcadero.com/thread.j ... 8&tstart=0

Post Reply