Troubleshooting Connection to Microsoft Access File
2 次查看(过去 30 天)
显示 更早的评论
I am fairly new to databases and I need to figure out how to open and obtain values from a Microsoft Access file. So far, I have not even been able to establish a connection to the file using the code shown:
>> conn = actxserver('ADODB.Connection');
>> invoke(conn,'OpenCurrentDatabase','<Path.MDB>');
I get the error:
>> Error using COM.ADODB_Connection/invoke
I've done a lot of googling and all suggestions have not seemed to help. For some clarification, I don't have the database toolbox and the MDB file was created with an older version of Access than is currently installed on my machine, could this be a potential issue?
Thanks for any potential help anyone can provide, AB
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!