Results 1 to 5 of 5
  1. #1
    Chad Access is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Sep 2015
    Posts
    49

    How to handle network interruptions

    Hello,



    I have the "your network access has been interrupted" issue occurring on our network, but I have no control over the network.

    My question is how I can handle the situation when it happens. Specifically, I would like Access to restart itself when it encounters this type of error. After all, that is what is required to recover from the issue anyways.

    Any help would be greatly appreciated!

    Chad

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Take lots of backups! I worked at a company like that and had automated backups three times a day. This type of problem so easily corrupts the database and makes it an "unrecognizable" file.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    no. if you have code in the app, then the app closes, then so does the code.

    Just click the close button (top right corner)
    then start access, your db is #1 in the prev list. (or a shortcut)
    thats like 2 to 3 clicks.

  4. #4
    Chad Access is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Sep 2015
    Posts
    49
    Quote Originally Posted by ranman256 View Post
    no. if you have code in the app, then the app closes, then so does the code.

    Just click the close button (top right corner)
    then start access, your db is #1 in the prev list. (or a shortcut)
    thats like 2 to 3 clicks.
    I am not sure I understand what you are suggesting. Are you saying there is no way to capture this event using form events / vba to tell Access to restart?

    I know we can manually restart it, but that is not what I'm after. Thanks.

  5. #5
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    only way I can think you might be able to get it to work is before each and every insert/update/delete it to try to update a dummy table with a value. If it updates then go ahead and do your transaction otherwise abort. - but if the network interrupts during your transaction you will risk corruption.

    Would be better to move the backend to sql server (or express which is free) which manages interruptions much better.

    Also check out the begintrans and committrans vba functions, they may help.

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

Similar Threads

  1. Sending emails without interruptions
    By George in forum Access
    Replies: 14
    Last Post: 03-13-2015, 11:15 PM
  2. category handle
    By aladdin88 in forum Access
    Replies: 3
    Last Post: 01-14-2015, 12:15 PM
  3. Replies: 4
    Last Post: 11-28-2014, 01:43 AM
  4. Best way to handle this Web Database
    By tucker1003 in forum Database Design
    Replies: 8
    Last Post: 03-18-2011, 12:14 PM
  5. 'handle' command
    By B Mellars in forum Access
    Replies: 6
    Last Post: 12-14-2010, 01:23 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