Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / April 2008

Tip: Looking for answers? Try searching our database.

Compacting to a new database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Duane - 17 Apr 2008 20:03 GMT
Using Access 2002 version.

I have a split database.  When the user closes their frontend, the code
checks to see if a backup is needed, and if so, prompts the user to backup
the database.

The code calls a function CompactToNewDatabase which finds the backend db
and compacts the backend to a new db in a different directory on a different
drive on our server.   Actually, the code works fine.

I put a password on the backend database.  I then opened the frontend and
set a password on the frontend db.  Then I used the table link manager and
successfully entered the password to the backend db and linked the tables.

However, now when I close the frontend db and the user is prompted to backup
the database, the user is prompted again to enter the password for the
backend db.  I am not sure why they are being prompted to enter a
password???  Is this a normal response from Access?  Is there something that
I am doing wrong.  Sure would appreciated any help.

Thanks in advance
Chris O'C - 17 Apr 2008 20:37 GMT
The user is being prompted for the back end's password because your code is
actually opening the database to compact it.

Chris
Microsoft MVP

>Using Access 2002 version.
>I put a password on the backend database.  I then opened the frontend and
[quoted text clipped - 8 lines]
>
>Thanks in advance
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.