Results 1 to 4 of 4
  1. #1
    elbartje is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2017
    Posts
    23

    Update data from database

    Hey all

    I want to make something that checks in the background if an excel file is changed, if so, I need to run a subroutine.
    I can't do this on the moment someone wants to use the database because this would take to mutch time. I have to do it on a separate machine/server.

    I know how to do this with an event procedure and a timer interval so it checks every 5 minutes.



    The problem that I have to open access and this database for 24/7 so it keeps running.
    Is there a beter way to do this ?

    I was thinking with a task scheduler program or something ?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    You can run a function from an autoexec macro and start the db from task scheduler. I have quite a few automated processes running that way.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    elbartje is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2017
    Posts
    23
    I was thinking in the same direction.
    But since this has to run for several month's, years it has to be very stable.
    And I'm not sure that this method is what I'm looking for.
    Other solutions are always welcom.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    I've had some running for years, so not sure that's a consideration.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 1
    Last Post: 03-26-2016, 06:42 AM
  2. Replies: 4
    Last Post: 12-16-2014, 03:31 AM
  3. Replies: 4
    Last Post: 11-10-2011, 03:41 PM
  4. Replies: 4
    Last Post: 06-07-2011, 09:16 AM
  5. Update data from another database
    By Ishaw in forum Programming
    Replies: 3
    Last Post: 04-26-2011, 06:34 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