Results 1 to 7 of 7
  1. #1
    Harvard Graphics is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    May 2018
    Posts
    3

    Database creating a copy of itself on a shared drive

    Hi



    I have a very old database created in 2000 which we still use. We upgraded it to Office 2013 and kept the old 2000 format which our users preferred. I have a couple of records which the system will not let me delete, which might be part of my problem? Our database was then moved to a shared drive on a server in 2016 to allow three people to use it. On two occasions now the shared database has duplicated itself, the original which is 65KB becoming a "copy" and the new one we are directed to use via an existing saved "shortcut" showing as a much smaller size of 14kb.

    Does anyone know what this is happening.

    I've had a look through the forum pages and cannot find any other similar problems.

    Any help would be appreciated. I only have a basic user knowledge of Access and the database was set up and working for me in 2005.

    Thanks

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,975
    Is the database set to compact on close?
    If so, that process may not have completed successfully resulting in the copies.

    Recommend that feature is disabled as it can cause problems
    Check in the database options and untick it.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    Harvard Graphics is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    May 2018
    Posts
    3
    Hi Colin

    Thanks for the quick reply. I clicked on the Access icon on my desktop, Options, Current Database and the "compact on close" option, and the whole page was greyed out with nothing selected. All the other tabs have information selected.

    Am I looking at the wrong thing?

    Many thanks

    Beverley

  4. #4
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,975
    Hi
    If the options are greyed out, it sounds like you've opened Access but haven't opened your database itself.
    Open your database and go to the options ... Current Database section again.
    This time, all items will be enabled and editable.

    Just read the first post again.
    This db is shared by three users.
    Is it split? If so, does each user have their own copy of the FE on their own computer.
    If the answer to either question is no, you have a potential data corruption issue which WILL happen at some point.
    It could also explain the duplicated copies created.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  5. #5
    Harvard Graphics is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    May 2018
    Posts
    3
    Hi Colin

    Thanks again, I found the correct options tab this time (Ooops) and the current database tab shows the box for "compact on close" unticked in black for the file in question.

    The database is not split and our only copy is located on a shared drive on a remote server and we all have access to it. When the file is being used by another user a padlock appears on the file and Microsoft Access Record Locking information shows on the File type. Obviously we cannot see this when we open Access but we do try to follow an in house rule that only one person makes updates to the shared file at any one time.

    Our computer department set up the share folder for us and the relevant permissions to allow us to use it. Do you have any suggestions for what we can do to stop this happening in the future.

    Many thanks

    Beverley

  6. #6
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,975
    With the best will in the world relying on users spotting the LDB or LACCDB lock file is not a satisfactory solution.
    You wouldn't allow your three users to all drive your car at the same time as it would crash.
    The same is true for Access.

    Splitting a database is easy and needs to be done as a priority.
    All tables are moved to a new backend datafile that is stored on a shared drive and is shared by all users.
    Everything else stays in the front end and links are created to the backend tables.
    The front end is then copied to each user's own PC so each can use the database safely at any time with no risk of corruption

    Before doing any of this, create a backup just in case.
    After splitting setup a routine for running backups at regular intervals

    Lots of info online about splitting databases, both how and why this is essential in a multi user environment
    For example http://www.fmsinc.com/MicrosoftAccess/DatabaseSplitter/
    Last edited by isladogs; 05-23-2018 at 05:33 PM.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  7. #7
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Quote Originally Posted by Harvard Graphics View Post
    <snip> The database is not split and our only copy is located on a shared drive on a remote server <snip>
    Beverley, do you know the 3 rules of computing??

    They are:
    #1 - Back up...




    #2 - Back up...... and





    #3 - is..... BACK UP!!!


    Go ahead.... Ask me how I know..






    --------------------------------------------------------
    @Colin...
    Good analogy using the car. I'll have to remember that.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 11-20-2017, 11:28 AM
  2. need code to copy one file from C drive to E drive
    By ChuckRS in forum Programming
    Replies: 5
    Last Post: 02-23-2015, 07:27 AM
  3. shared DB on local drive
    By mike02 in forum Access
    Replies: 1
    Last Post: 05-20-2013, 01:54 PM
  4. Replies: 2
    Last Post: 10-11-2012, 02:29 PM
  5. Replies: 2
    Last Post: 03-01-2012, 04:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums