Re: set database password when converting AC00 to AC07
- From: "Chris O'C via AccessMonster.com" <u29189@uwe>
- Date: Sat, 11 Oct 2008 19:26:18 GMT
Reading that db option only tells you what the setting is, not whether the db
was opened exclusively. If the locking file is already open when you try to
open the db exclusively, the db will open in shared mode, no matter what your
settings are.
To guarantee opening in exclusive mode use a shortcut with the /excl switch.
"path to msaccess.exe" "path to db.accdb" /excl
After you open the db exclusively with the shortcut, change your password.
Chris
Microsoft MVP
Stanley L. wrote:
I have verified exclusive mode in the
immediate window by getting a value of 1 when asking Open Mode =
Application.GetOption("Default Open Mode for Databases"). Also the AC07
options this database are set to open in exclusive mode.
Why won't AC2007 allow the setting of a DB password but instead tells me to
open the DB in exclusive mode when it alresdy is open in that mode?
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-security/200810/1
.
- Follow-Ups:
- Re: set database password when converting AC00 to AC07
- From: Stanley L.
- Re: set database password when converting AC00 to AC07
- References:
- set database password when converting AC00 to AC07
- From: Stanley L.
- set database password when converting AC00 to AC07
- Prev by Date: set database password when converting AC00 to AC07
- Next by Date: Re: Problems adding hyperlinks to forms
- Previous by thread: set database password when converting AC00 to AC07
- Next by thread: Re: set database password when converting AC00 to AC07
- Index(es):
Relevant Pages
|