MyDac5 FastReport4 problem installing components

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Prismax
Posts: 12
Joined: Mon 05 Feb 2007 15:16

MyDac5 FastReport4 problem installing components

Post by Prismax » Sat 21 Apr 2007 11:37

Hello,

Since the official release I'm working with the mydac5 components. I also downloaded the Fastreports 4 Components because I needed some reports. But I can't get it to work together.

I have no frxMyDacComponent in my pallette. I'm able to compile the design-time package from the mydac fastreport4 demo and when I install it, it appears on my pallette under the fastreports tab.
But when I close the package and open another project, it's suddenly gone from the pallette.

Can anyone tell me why this is happening?

I'm using delphi 7

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Mon 23 Apr 2007 06:39

Probably path to compiled packages of MyDAC engine for Fast Report is missing in the Environment Options of your IDE. Call the Environment Options dialog using IDE menu: Tools | Environment Options. If the patch to these packages does not present in the Library path list on the Library tab, add it.

Prismax
Posts: 12
Joined: Mon 05 Feb 2007 15:16

Post by Prismax » Wed 25 Apr 2007 18:13

I have this folder in my environment options : C:\Program Files\CoreLab\MyDac for Delphi 7\Demos\ThirdParty\FastReport\FR4. It's the folder from the FR demo you published. I guess this is the right path? I've also inserted C:\Program Files\CoreLab\MyDac for Delphi 7\Lib and C:\Program Files\CoreLab\MyDac for Delphi 7\Bin.

But the problem remains...

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Thu 26 Apr 2007 14:45

Please check if MyDAC for FastReport packages present in the Disabled Packages of your IDE.
Run a registry editor (e.g. regedit.exe) and open the HKEY_CURRENT_USER\Software\Borland\Delphi\7.0\Disabled Packages key.
If you find here links to these packages, delete them.

Prismax
Posts: 12
Joined: Mon 05 Feb 2007 15:16

Post by Prismax » Thu 03 May 2007 16:31

There was no "disabled packages" key.

But I solved the problem after a complete uninstall of the package and then performing a full re-install of the components.

Thx for the help!

Prismax
Posts: 12
Joined: Mon 05 Feb 2007 15:16

Post by Prismax » Wed 09 May 2007 23:29

Well, the problem seems not to be solved after all.

When I startup delphi 7 I can see the mydac fastreport component in the fastreport tab on the palette.

But after I open a project containing mydac components, the mydac-fastreport component disappears from the palette!

Reopening a project without mydac components gives me back the component.

Why would this be?

swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Post by swierzbicki » Thu 10 May 2007 08:25

I'm working with D2006 / D2007 + MyDAC 5 + FastReport 4 without any problems.

don't you have old bpl files version on your harddrive ?

Before installing FastReport search on your harddrive and delete all fr*.bpl , dclfr*.bpl , fs*.bpl, dclfs*.bpl

Before installing the frxMyDacComponents, search on your harddrive and delete all frxMyDac*.bpl files.

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Fri 11 May 2007 14:17

Please try to uninstall MyDAC engine for Fast Report using Component->Install Packages dialog for all FastReport versions. Then install it once more. Please note that you should build not only design-time packages, but also run time ones. For more information about installation FastReport 4 MyDAC Components
please see the ReadMe.txt file in {MyDAC installation directory}\Demos\Win32\ThirdParty\FastReport\FR4\.

Hans Luijten
Posts: 12
Joined: Thu 07 Jun 2007 16:39
Location: Osceola, WI, USA

Post by Hans Luijten » Fri 21 Nov 2008 03:19

Just installed MyDAC 5.55 with Delphi 2007 (running Vista),... and can't find the C:\Program Files\CoreLab\MyDac xxxx\Demos\ThirdParty folder :(

Hans Luijten
Posts: 12
Joined: Thu 07 Jun 2007 16:39
Location: Osceola, WI, USA

Post by Hans Luijten » Fri 21 Nov 2008 04:05

Found it ... got to love Vista ... or is it Devart doing this, anyway, the "new" location:

C:\Users\Public\Documents\CoreLab\MyDac for RAD Studio 2007\Demos\Win32\ThirdParty\FastReport

Post Reply