There is a bug on BDE Migration?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jhonalone
Posts: 1
Joined: Sun 01 Jan 2012 17:27

There is a bug on BDE Migration?

Post by jhonalone » Sun 01 Jan 2012 18:55

Well. Yesterday, I installed the latest trial version of MyDAC (7.1.4 for Delphi 7). My OS is XPPro

I'm testing from BDE Migration.
I have verified that Migration Wizard application, changes any Delphi components by MyDAC components:

TTable ----> TMyTable
TQuery----> TMyQuery
TDataSource, TDataBase -----> Disappear

Delphi IDE shoots an error: "Error creating form. Error Reading ClienDB.IndexDefs: Property ¡s read-only."

I verify that is very difficult to recompile project, you need agregate any one component like TMyConection and other changes into project that are not too easy to know.

Three questions:
1.- How can I solve error?
2.- Do you have any migration totorial from BDE projects?
3.- Do you have any tutorial explaining how to proceed for use MyDAC components to create applications using client versus direct connection modes.

I had thought to purchase MyDAC components, but after I solve these troubles.

Best Regards.

AndreyZ

Post by AndreyZ » Tue 03 Jan 2012 11:54

Hello,

MyDAC doesn't use the IndexDefs property. To solve the "Property is read-only" error, you should remove all index definitions in the DFM file after conversion manually.
Migration Wizard replaces the TDatabase component with the TMyConnection component, and does nothing with the TDataSource component. You can find detailed information about Migration Wizard in the "Migration from BDE" and "Migration Wizard" articles of the MyDAC documentation.

Post Reply