Re: Access Database with Password
- From: "Michael Jacobs" <iq193@xxxxxxxxxxxxx>
- Date: Wed, 10 Aug 2005 20:44:06 -0400
Hi Rolf,
Your connection string should be similar to this:
'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=database path;Persist
Security Info=True;User ID=UserName;Jet OLEDB:Database Password=userpassword
HTH,
Michael
"Rolf Hansen" <rhnnat@xxxxxx> wrote in message
news:42fa1d42$1@xxxxxxxxxxxxxxxxxxxxxxxxx
> How can I connect to an Access Database with a password?
>
> I have created the Access2000 database using Access and created a password
> to be used for opening the database. When I use an ADOConnection Delphi7
> asks for Login ID (Administrator) and Password. Using the correct database
> password fails.
>
> Best regards
>
> Rolf Hansen
>
>
.
- Follow-Ups:
- Re: Access Database with Password
- From: Rolf Hansen
- Re: Access Database with Password
- References:
- Access Database with Password
- From: Rolf Hansen
- Access Database with Password
- Prev by Date: TADOConnection using mixed Authenication
- Next by Date: Re: Timeout Expired /Index
- Previous by thread: Access Database with Password
- Next by thread: Re: Access Database with Password
- Index(es):
Relevant Pages
|