Troubleshooting Connection to Microsoft Access File
1 view (last 30 days)
Show older comments
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
3 Comments
Answers (0)
See Also
Categories
Find more on Database Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!