ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Is there a diferent "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" (https://www.excelbanter.com/excel-programming/295288-there-diferent-provider%3Dmicrosoft-jet-oledb-4-0%3B-data-source%3D.html)

george

Is there a diferent "Provider=Microsoft.Jet.OLEDB.4.0; Data Source="
 
Hello there, I have been working on a project that is a
program in VBA, that program saves its data on a Database
and then its manipulated by importing that data to Excel.
I was having trouble importing queries from the DB and I
found why. I had to change the DB to prior version so that
the program could comunicate with it, now excel dosent
import queries from the DB because of that, it imports
tables but not queries. I need to know if theres a way to
change the "Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=" that I am using so that it recognizes the prior
version and import the queries.


AA2e72E[_2_]

Is there a diferent "Provider=Microsoft.Jet.OLEDB.4.0; Data Source="
 
If it works with tables then it should work with queries (I am assuming that the query has some records in it). Verify that the name of the query is a valid VBA variable name and if it is not, elclose it within square brackets.


All times are GMT +1. The time now is 08:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com