Sample usage:
DBUpdate1.DBRef = "C:\MyProgram\Ref.mdb"
DBUpdate1.DBToUpdate = "C:\MyProgram\MyDB.mdb"
DBUpdate1.Update

Properties:
DBRef: Set the reference database file.
DBToUpdate: Set the database you want to update the structure.
SaveBackup: If true it saves a backup of the DatabaseToUpdate file before 
updating the structure. (The file is saved as *.bak in the same 
directory).
RunHide: If false It shows a form showing the progress of updating.
Language: Set the language of messages (English or Spanish)
RegisterDeletionForWrongValues: Set what to do if there are wrong values 
in some records. For example: 
1) In the reference database there is set a 
new primary key and the old database have 
null values in the fields that uses this 
new key. The new key can't be created 
until these records are deleted.
2) There is a new referential integrity rule
because of an added relation, and some 
records in the old database break this rule. 
It is needed to delete these records in order
to create the relation. 
AutoShowSummary: Automatically shows a summary showing the changes made 
to the structure.
ConvertOldVersions: If true its automatically converts from earlier versions (1.0, 
1.1, 2.0) of Access databases to 3.0.
DBRefPassword: Set the password if the reference database has one.
DBToUpdatePassword: Set the password if the database to update has one.

There are some other methods and read only properties:

You can read this properties after to call the Update method to see
what changes where made to the structure of database.

AddedTables
AddedFields
AddedIndexes
AddedIndexesFields
AddedPrimaryKeys
AddedPrimaryKeysFields
AddedRelations
AddedRelationsFields
DeletedTables
DeletedFields
DeletedIndexes
DeletedRelations
DeletedRegistersForNullValuesInNewprimaryKeys
DeletedRegistersForNewReferentialIntegrityRules
UpdatedFields

ElapsedTime: Shows the time elapsed during the process.

Methods:

ShowSummary: Shows the summary.
About: Shows the about box.

Note: If you have changed tables names or fields names the program will 
not recognize it, the structure will be updated right, but you will lose
the data in that tables or fields.


If you have some comments, questions, to report something else
please contact to javierbalk@hotmail.com


