Re: Solution for transferring records to new database
You are using databases with references to other tables.
The export is catching the table names from the master table.
For export this is fine, because you can export table contant in any order without side effects - in theory.
In practise you must import records in a database with references between 'Master' and 'Slave' Tables in a strict top-down order.
This means first the origin tables where you later reference to and then the tables with the records who are using the - I like to call it 'Master' tables.
The script has the problem that this master-slave or top-down order with respecting the table references is not taken into account.
So the export from this script can not be imported. You would need to manual delete all references, import the records and then restablish the references. Alternative you need to change the export script from automatic catching the tables to a manual preset. In this preset you have to take into account the top down structure of your database.
Many work.
One of the reasons why I directly change the database structure before the main software starts.
A common problem with databasees who uses table references.
In other words: you have reach the limits of MVD. Without a manual script for the table updates it will be hard to work.
If you will not bear the costs of RAD Studio, take a look into Lazarus-IDE or Pilotlogic Code Typhoon. Both are Free Pascal with is mostly similar to the definition of Delphi 7, but with Unicode by default.
Dimtry should realy update MVD with a internal update process for database update in a running system.
I will take your and domebils advise for RAD Studio. I have already Lazarus installed in my PC, but the forms are making my life difficult.