Re: Accessing Access 2007 Databases
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Tue, 5 Jun 2007 14:03:57 -0400
No, it is not included in MDAC (neither was the Jet provider after MDAC
2.5 I think ... too lazy to go look it up). I believe you have togo here
to get it:
http://www.microsoft.com/downloads/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en
Thatch wrote:
Bob,
Thanx. It worked like a charm.
Just one final questions. Is this provider part of MDAC when you
distribute software? Or must I distribute a specific file for it?
T
"Bob Barrows [MVP]" wrote:
Thatch wrote:
I'm using the following code to open an Access 2007 database:There is a new provider you need to use for Access 2007 ... off to
Dim rstRecords as new ADODB.Recordset
Dim strConnectionString as string
' Set the connection string
strConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Databases\Access2007.accdb;Persist Security Info=False;"
' Connect to the database
rstRecords.let_ActiveConnection(strConnectionString)
And I get an "Unrecognized Database Format" error when I execute the
.let_ActiveConnection.
This works fine on an Access 2000 database but I'm trying to upgrade
to Access 2007 and I can't get Jet 4.0 to recognize the new
database. Any hints on what string I should use to make this
work????
T
connectionstrings.com to get its name ... Here you go:
http://www.connectionstrings.com/?carrier=access2007
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get
a quicker response by posting to the newsgroup.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
.
- References:
- Re: Accessing Access 2007 Databases
- From: Bob Barrows [MVP]
- Re: Accessing Access 2007 Databases
- Prev by Date: Re: Accessing Access 2007 Databases
- Next by Date: Submit Multiple SQL statemtents to one Execute statement
- Previous by thread: Re: Accessing Access 2007 Databases
- Next by thread: Submit Multiple SQL statemtents to one Execute statement
- Index(es):
Relevant Pages
|
|