Change MS Access to Exclusive on the fly
        Posted  
        
            by Nate
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Nate
        
        
        
        Published on 2009-05-21T16:08:27Z
        Indexed on 
            2010/03/15
            1:09 UTC
        
        
        Read the original article
        Hit count: 329
        
I have a process in an MS Acess database that the users will usually run once daily, but could be more or less. It takes several minutes and requires temporary exclusive access because it deletes and recreates the main table. I have code to check to see if there are other users in the db before the process starts, but is there a way to change the access to "exclusive" at the beginning, and then change it back to open access at the end? Thanks for any help.
© Stack Overflow or respective owner