Re: Cannot open Access table with ADO or BDE/ODBC
- From: "Guillem" <guillemvicens-nospam@xxxxxxxxxxxxxxxxxx>
- Date: 18 May 2006 07:49:44 -0700
Doug Stephens wrote:
How do I determine version of Jet? or MDAC? or repair the MDAC?
JET is included in MDAC. For more information on MDAC and JET
http://msdn.microsoft.com/data/ref/mdac/
to check MDAC
http://msdn.microsoft.com/data/ref/mdac/downloads/default.aspx
to repair MDAC
http://www.macropool.com/en/download/mdac_xp_sp2.html
Connection String=Provider=MSDASQL.1;Persist Security Info=False;Data
Source=TMS_ACCESS
Where TMS_ACCESS is an ODBC dns mapped to a local .mdb file.
using ADO+ODBC is not a good idea since you are using an extra layer to
get to Access, i.e., it's slower.
The best option is to use MS JET 4.0, which is the native OLE DB
provider for Access. After (or before if you wish) checking the MDAC
installation try with one of these connection strings, the one that
fits your needs better.
Standard security:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\somepath\mydb.mdb;User
Id=admin;Password=;"
Workgroup (system database):
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\somepath\mydb.mdb;Jet
OLEDB:System Database=system.mdw;"
With password:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\somepath\mydb.mdb;Jet
OLEDB:Database Password=MyDbPassword;"
Good luck
--
Best regards :)
Guillem Vicens Meier
Dep. Informática Green Service S.A.
www.clubgreenoasis.com
--
Contribute to the Indy Docs project: http://docs.indyproject.org
--
In order to contact me remove the -nospam
.
- Follow-Ups:
- Re: Cannot open Access table with ADO or BDE/ODBC
- From: John Gray
- Re: Cannot open Access table with ADO or BDE/ODBC
- From: Doug Stephens
- Re: Cannot open Access table with ADO or BDE/ODBC
- References:
- Cannot open Access table with ADO or BDE/ODBC
- From: Doug Stephens
- Re: Cannot open Access table with ADO or BDE/ODBC
- From: Guillem
- Re: Cannot open Access table with ADO or BDE/ODBC
- From: Doug Stephens
- Cannot open Access table with ADO or BDE/ODBC
- Prev by Date: Re: Cannot open Access table with ADO or BDE/ODBC
- Next by Date: Re: Cannot open Access table with ADO or BDE/ODBC
- Previous by thread: Re: Cannot open Access table with ADO or BDE/ODBC
- Next by thread: Re: Cannot open Access table with ADO or BDE/ODBC
- Index(es):
Relevant Pages
|