Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Access
3rdpartyusrgrp
access
activexcontrol
adp.sqlserver
commandbarsui
conversion
dataaccess.pages
developers.toolkitode
devtoolkits
externaldata
forms
formscoding
gettingstarted
internet
interopoledde
macros
modulescoding
modulesdaovba
modulesdaovba.ado
multiuser
odbcclientsvr
queries
replication
reports
security
setupconfig
tablesdbdesign
  
 
date: Mon, 2 Jun 2008 06:09:01 -0700,    group: microsoft.public.access.modulesdaovba.ado        back       


Compacting password protected Access Backend databases from Fronte   
I have been using the following code to compact and repair a backend that is 
not password protected:

Dim stAppName As String
stAppName = "MSACCESS.EXE " & """" & Katalognamn() & "Test_be" & """" & 
"/nostartup /compact"
Call Shell(stAppName, vbNormalNoFocus)

and it works exactly as I want to. But now I have a password protected 
backend database (I am not using any profiles or so at all so it is just a 
password nothing else)

I have tried the "/pwd xxxx" option but it seems like it wants me to also 
enter a user name and a password for that user - and I am not using user 
names for protection at all! How to solve this???

I am using Access 2003

Many thanks in advance!

Anders
date: Mon, 2 Jun 2008 06:09:01 -0700   author:   Anders

Re: Compacting password protected Access Backend databases from Fronte   
Try entering Admin as the user name (that's the default user)

-- 
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Anders"  wrote in message 
news:625E45FF-A707-4350-B98F-087A1A2C65D4@microsoft.com...
>I have been using the following code to compact and repair a backend that 
>is
> not password protected:
>
> Dim stAppName As String
> stAppName = "MSACCESS.EXE " & """" & Katalognamn() & "Test_be" & """" &
> "/nostartup /compact"
> Call Shell(stAppName, vbNormalNoFocus)
>
> and it works exactly as I want to. But now I have a password protected
> backend database (I am not using any profiles or so at all so it is just a
> password nothing else)
>
> I have tried the "/pwd xxxx" option but it seems like it wants me to also
> enter a user name and a password for that user - and I am not using user
> names for protection at all! How to solve this???
>
> I am using Access 2003
>
> Many thanks in advance!
>
> Anders
date: Mon, 2 Jun 2008 12:05:11 -0400   author:   Douglas J. Steele

RE: Compacting password protected Access Backend databases from Fronte   
Performing a Compact and repair on a database should only ever be done from 
the machine where the database actually resides to reduce the risk of 
corruption that network traffic could cause.


"Anders" wrote:

> I have been using the following code to compact and repair a backend that is 
> not password protected:
> 
> Dim stAppName As String
> stAppName = "MSACCESS.EXE " & """" & Katalognamn() & "Test_be" & """" & 
> "/nostartup /compact"
> Call Shell(stAppName, vbNormalNoFocus)
> 
> and it works exactly as I want to. But now I have a password protected 
> backend database (I am not using any profiles or so at all so it is just a 
> password nothing else)
> 
> I have tried the "/pwd xxxx" option but it seems like it wants me to also 
> enter a user name and a password for that user - and I am not using user 
> names for protection at all! How to solve this???
> 
> I am using Access 2003
> 
> Many thanks in advance!
> 
> Anders
date: Tue, 8 Jul 2008 07:27:01 -0700   author:   Danny Seager

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us