I have an A2K database that has links to 3 of my other databases
(external links) to run some reports. The coding in any of the 4 is
pretty simple.
Recently when we make a new .mde for the "main" database, the first
time we run our reports (all executed from code from a form), we get a
Type Mismatch Error on the line:
Set db = CurrentDb
I go into Tools/References and move MS DAO 3.6 up above my external DB
references and above OLE automation, and make a new mde.
The problem goes away.
The problem is occuring in the MAIN db (not any of the referenced dbs).
The only thing that has changed is that we started using Access 2003 to
do some editing. Of course, we use A2K to make the mde.
Anyone have any thoughts? Aside from the fact that it's annoying, I am
worried something else is wrong and I'm just lucky to have it fixed
with the move of the reference.
Thanks
sara
(external links) to run some reports. The coding in any of the 4 is
pretty simple.
Recently when we make a new .mde for the "main" database, the first
time we run our reports (all executed from code from a form), we get a
Type Mismatch Error on the line:
Set db = CurrentDb
I go into Tools/References and move MS DAO 3.6 up above my external DB
references and above OLE automation, and make a new mde.
The problem goes away.
The problem is occuring in the MAIN db (not any of the referenced dbs).
The only thing that has changed is that we started using Access 2003 to
do some editing. Of course, we use A2K to make the mde.
Anyone have any thoughts? Aside from the fact that it's annoying, I am
worried something else is wrong and I'm just lucky to have it fixed
with the move of the reference.
Thanks
sara
Comment