Results 1 to 8 of 8
  1. #1
    Edward_ is offline Advanced Beginner
    Windows 10 Access 2007
    Join Date
    Apr 2014
    Posts
    38

    Shared tables BE copies being created in network drive folder. Data was thought to be lost

    I'm working with a rather unusual problem, to me anyway, in an old Access app with shared data tables on a network drive.
    The users (using MDEs on Access runtime) were complaining that sometimes their data entries were lost, not listed when they re-open the DB the next day, etc.

    Upon examination, we found copies of the DB with the user's PC name in a new copy of the AccessDB file, like AccessDB-Tina-3.mdb, AccessDB-BusOffMgr-2.mdb.


    The names of their PCs are in newly created BE tables with the data they thought was missing.
    So the data they entered was in the newly created DB, but not in the main DB (path setup to the linked tables) established with the app opens the first time, or when it can't find tables.

    There remains the main DB BE (AccessDB.mdb), and 95% of the time the newly created records are stored on this target DB.
    Users have been avoiding accessing this DB simultaneously, if that matters.

    What might cause this? Using Access 2007.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    access does not create new db with usernames, unless your app was programmed to do so.
    many users sharing the same BE is fine, but they cant both edit the same record. (that likely wont happen)

    can you convert a Front End back to .mdb to look at the code?

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,860
    The BE will have BE in it's name?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  4. #4
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,397
    Are you using replication? You need to programme for it and would be used 'in the old days' to enable users to work out in the field. If you look at the tables you will see additional replication fields (a replication ID and a couple of dates) and your autonumber would be set to random rather than incremental. Note 'work out in the field' also cover times when in the office and network is down and/or level of user activity meant very slow performance.

    Whilst in the field, they would use their 'local BE replica' and on return to the office would sync their replica to the master - they then might then relink from their replica to the master until they are next out of the office. The only thing that does not fit with this is that their local replica would be local, i.e. somewhere on their C drive. You said 'we found copies of the DB with the user's PC name in a new copy of the AccessDB' which doesn't tell us where you found them.

    Check if this is the case. If it is you need to find a way to sync the files. And if it is no longer relevant perhaps remove the facility as it is no longer supported

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,818
    Quote Originally Posted by Welshgasman View Post
    The BE will have BE in it's name?
    Only if it was saved with BE as part of its filename.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,860
    Quote Originally Posted by June7 View Post
    Only if it was saved with BE as part of its filename.
    Hmm, OK, I have only ever split and accepted the default name. Confusing otherwise I would have thought?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  7. #7
    Edward_ is offline Advanced Beginner
    Windows 10 Access 2007
    Join Date
    Apr 2014
    Posts
    38
    Are you using replication? You need to programme for it and would be used 'in the old days' to enable users to work out in the field. If you look at the tables you will see additional replication fields (a replication ID and a couple of dates) and your autonumber would be set to random rather than incremental. Note 'work out in the field' also cover times when in the office and network is down and/or level of user activity meant very slow performance.

    Whilst in the field, they would use their 'local BE replica' and on return to the office would sync their replica to the master - they then might then relink from their replica to the master until they are next out of the office. The only thing that does not fit with this is that their local replica would be local, i.e. somewhere on their C drive. You said 'we found copies of the DB with the user's PC name in a new copy of the AccessDB' which doesn't tell us where you found them.
    The reproduced MDBs are located in the same network drive location as the primary data.mdb file. Not on the user's PC.

  8. #8
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,397
    but do they have the replication fields?

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

Similar Threads

  1. Shared network folder unable to save database
    By acrowe97 in forum Access
    Replies: 1
    Last Post: 08-16-2018, 03:05 PM
  2. Replies: 5
    Last Post: 11-20-2017, 11:28 AM
  3. Shared Network Drive Databases
    By twb60 in forum Access
    Replies: 5
    Last Post: 06-21-2016, 11:47 AM
  4. VBA code to create a folder on a shared drive.
    By tgall in forum Programming
    Replies: 4
    Last Post: 01-08-2016, 11:39 AM
  5. Output tables to an excel file on a network drive
    By GraemeG in forum Import/Export Data
    Replies: 1
    Last Post: 04-01-2011, 03:06 PM

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