Greetings all ...
I'm running into a conflict while trying to convert an Access 2007 accdb file to an accde file. Access persistently reports that it is "unable to create the accde ... file".
I've narrowed down the cause of the conflict to the mere existence of a VBA reference to an external library file in the file I'm trying to convert.
As an experiment, I created a new accdb fiile, named Db1. There is only one object in Db1, a main module with a single line reading "Option Compare Database". This file converts just fine to accde format.
I then create a second accdb file in the same folder, and name it Db2. Db2 contains no objects. I create a VBA reference to Db2 in the VBA window of Db1 under Tools/References.
When I then attempt to again convert Db1 to an accde file, Access fails, reporting it's "Unable to create the .accde ... file."
I've tried this with and without a module in Db2, and I've tried it converting Db2 to an accde file before creating the reference in Db1. All fail.
Does anyone have a solution to this, other than the obvious? I can't believe this is an illegal procedure. Am I missing a hidden configuration item in Db2 (or Db1) that will allow me to keep the reference to the shared library Db2 in Db1, and still convert Db1 to an accde file?
Many thanks for any thoughts you have on this matter. I greatly appreciate your efforts, expertise and perspective.