Hi,
sorry ... I was out of office for some days.
"Nico: Why do you want to bother converting? There are no problems accessing
data that's in the format of previous versions of Access from newer versions
of Access."
We have to decide for a dektop database for our project. In this project is
no need for the MS Access user interface. It is no need for reports, forms,
.... By default, the end-user will not need to operate directly the database.
We need just a very simple relational database engine. We think the MS
Access may be the right solution for the project. Now, there are 2 differents
formats: MDB and ACCDB. Which one should we choose? We analysed the
differences and we think that MDB is enough for the moment. But if in the
future it will be necessary to use the accdb format we want to be sure that a
programmatic conversion is not a problem.
Thank you for the tipps.
I tried to make a dummy test. I installed the Access Database Engine and the
Access 2007 Developer Extensions (ADE). I suppose I have to use the
CompactDatabse method of the ActiveX AccessDE.dll . I think the installation
was not successfull although was no error message. The ActiveX can't be
registered. The mso.dll and the msvcr80.dll are missing. And when I copy the
dlls from another folder to the actual one by registering it comes another
error message, error code: 0x80004001. Any ideea?
Is it possible also through ADO to convert/compact an Access database?
Thank you,
Nicoleta
Post by Albert D. KallalPost by Alex DybenkoHi Doug,
but if ADE is installed (why do you need accdb then?) then
compactdatabase - is a method of ADE, can be called from Word for example.
http://accessblog.net/2007/01/microsoft-office-access-database.html
Very interesting link. I was not aware that the ACE engine was available as
a separate download.
Thanks for that tip Alex...
So, yes...one can then likely convert using code without having to install
ms-access (but, the 07 ACE engine does need to be installed).
As we say, there always more then one way to skin a cat....
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada