Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default 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.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default 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.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OleDB Provider for Excel 2007 Binary (.xlsb) Rafael Excel Discussion (Misc queries) 1 December 19th 08 05:57 PM
Multiple "source" workbooks linked to single "destination" workboo DAVEJAY Excel Worksheet Functions 1 September 17th 07 05:33 PM
"OLE DB Provider for Microsoft Directory Services" eraggi Excel Discussion (Misc queries) 1 August 21st 07 11:08 PM
Query OLEDB Provider for Excel file info? mike Excel Programming 5 January 15th 04 12:33 PM
Excel schema using Jet OLEDB Provider? mike Excel Programming 1 December 22nd 03 09:25 AM


All times are GMT +1. The time now is 01:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"