0

Im trying to display records from my access 2010 64 bit database into word footer, when I run the code I get ActiveX can not create object. I do have reference in my vba project microsoft dao 3.6 object library and microsoft activex data objects 6.1 libraries. The code is working fine on 32bit but not 64 bit. Any ideas? Debug pointing to this line as error:

Set dataBase = DBEngine.OpenDatabase(UsersBasePath)
4

1 回答 1

0

我不得不在数据库声明语句的前面添加 dao

于 2014-04-28T15:45:55.333 回答