Open Access Database

Please discuss general Delphi programming topics here.

Open Access Database

Postby Sezar » February 11th, 2009, 5:23 am

hi
I have an access db that is password protected,when I open it with method
Code: Select all
ADOConnection.Open("myuser","mypass")

it raises an exception,when I put the password in connection string ,it raises an exception also.

what can I do? :-k
Sezar
Sezar
Junior Member
Junior Member
 
Posts: 42
Joined: April 18th, 2007, 4:40 pm
Location: Mashhad,Iran

Re: Open Access Database

Postby Athabasca » February 11th, 2009, 8:19 am

Hi,
extend the connection string:
Code: Select all
;Jet OLEDB:Database Password=XXXX

XXXX is the Password.
User avatar
Athabasca
Active Member
Active Member
 
Posts: 15
Joined: January 30th, 2009, 10:55 am
Location: Germany


Return to Delphi Programming

Who is online

Users browsing this forum: Google Feedfetcher and 2 guests

cron