Results 1 to 3 of 3
  1. #1
    harryklein is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Aug 2018
    Posts
    48

    database opens as read only

    Hi,
    I need to maintain an excel-vba application that connects to an access db (o365).
    The problem I am facing is that I cannot update the record via adodb. ("Current recordset doesn't support update...").
    When I open the accdb file manually, I get the messages that it is a read-only, I need to save it under a different name to update.
    That's fine, but when I try to do so, I got a message that it is opened by myself, therefore it cannot be saved.
    I made a copy of it, and tried to delete the original one, but I couldn't.
    I use otherr accdb files from the same location, so I have access for the folder, and the file itself is not read-only on filesystem-level.
    How could I manage to have this DB with no read-only protection?
    Thank you

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    it may be you have code that has opened the db but not closed it - so access thinks you are still in it. Try rebooting

  3. #3
    harryklein is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Aug 2018
    Posts
    48
    Yes, it resolves my problem for one run, but you're right, the root-cause will be some coding issue.
    Thanks anyway.

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

Similar Threads

  1. Access opens up as Read-Only
    By rubenidas in forum Import/Export Data
    Replies: 3
    Last Post: 08-26-2016, 03:08 PM
  2. Replies: 1
    Last Post: 07-14-2015, 02:42 AM
  3. Replies: 11
    Last Post: 10-15-2014, 12:28 PM
  4. DB opens as READ ONLY
    By khughes46 in forum Access
    Replies: 6
    Last Post: 10-14-2014, 02:26 PM
  5. Opens as Read Only
    By bouschie in forum Access
    Replies: 2
    Last Post: 12-05-2011, 01:08 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