PC Review


Reply
Thread Tools Rate Thread

Changing database password

 
 
=?Utf-8?B?TGVu?=
Guest
Posts: n/a
 
      18th May 2005
I've created a form allowing user to change database password in the Access
2002 application. When running the following statement

db.NewPassword CurrentPassword, NewPassword

I've got the message:

"Cannot change password on shared open database"

What can be wrong?
Thanks.
 
Reply With Quote
 
 
 
 
Joan Wild
Guest
Posts: n/a
 
      18th May 2005
"Len" <(E-Mail Removed)> wrote in message
news:8C332F77-BE26-4D19-8DFD-(E-Mail Removed)...
>
> I've got the message:
>
> "Cannot change password on shared open database"



A user needs to have the mdb opened exclusively in order to change the
database password.

--
Joan Wild
Microsoft Access MVP


 
Reply With Quote
 
=?Utf-8?B?TGVu?=
Guest
Posts: n/a
 
      19th May 2005
When I select the File/Open menu choice and click the Open button, the Open
Exclusive option is already check marked. So, I just select this option
expecting that database will be opened exclusively. Nevertheless, I am not
able to change the password.

By the way, I am able to compact the opened database, which requires the
database to be opened exclusively as well.


"Joan Wild" wrote:

> "Len" <(E-Mail Removed)> wrote in message
> news:8C332F77-BE26-4D19-8DFD-(E-Mail Removed)...
> >
> > I've got the message:
> >
> > "Cannot change password on shared open database"

>
>
> A user needs to have the mdb opened exclusively in order to change the
> database password.
>
> --
> Joan Wild
> Microsoft Access MVP
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing password for a linked table to an online database Kyle Microsoft Access External Data 3 5th May 2009 07:40 PM
Changing password on database with customised menu =?Utf-8?B?S0hvZ3dvb2QtVGhvbXBzb24=?= Microsoft Access 2 30th Aug 2007 07:54 AM
I saved password into the database with "binary" data type from GetByte method. How can I to compare the password that between database and transfered from the page? Benny Ng Microsoft Dot NET Framework 3 25th Jan 2006 06:49 AM
Changing Database Password Programmatically =?Utf-8?B?Sm9obkpvaG4=?= Microsoft Access Security 1 21st Nov 2004 04:19 AM
no longer can access database after changing password Greg Microsoft Windows 2000 Security 1 3rd Sep 2003 05:03 PM


Features
 

Advertising
 

Newsgroups
 


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