PC Review


Reply
Thread Tools Rate Thread

Compacting a password protected database using vba

 
 
Nick
Guest
Posts: n/a
 
      14th Sep 2009
I'm trying to use the CompactDatabase command to compact a password protected
database but keep getting 'Not a valid password' message. I'm positive I'm
supplying the correct password but am possibly getting the syntax wrong eg.

DBEngine.CompactDatabase "dbtocompact", "newcompateddb", ";pwd=actualpassword"

Anyone know what I'm doing wrong please?

--
Nick
 
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
Access database password removed after compacting - why??? Jon S via DotNetMonster.com Microsoft C# .NET 0 25th Nov 2005 12:36 PM
how to change database from password protected to no password =?Utf-8?B?bWltaQ==?= Microsoft Access 2 5th Jun 2005 02:34 PM
Compacting remote password-protected db =?Utf-8?B?T2xlbmE=?= Microsoft Access 4 18th Feb 2005 02:47 PM
Error compacting password protected db Mark Microsoft Access VBA Modules 1 11th Jan 2005 05:59 PM
protected password database with VB.NET axel Microsoft Access Security 0 15th Jan 2004 11:15 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:51 AM.