Results 1 to 5 of 5
  1. #1
    akira is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Feb 2012
    Posts
    8

    Automatically Refresh datasheet/tables

    Hi all,



    I have an access file which connects to an ODBC database, and I want it to update at a set time interval.

    I searched through the internet, and noticed that most solutions require a form and putting the requery macro in the form's events.

    My file doesn't need a form, its only function is to act as a medium to store the data from ODBC and lets a BI Tool play around with it.

    My question is, how do I make the access file update automatically at a timely interval (every 30 mins, 1 hr etc.). Is it necessary to create a form? Are there other ways? If so can someone walk me through the steps?

    Thank you very much,
    akira-

  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,641
    You shouldn't need to do anything. Your BI tool should get updated records whenever it queries the file. The Requery is for the user interface, not the data itself.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    akira is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Feb 2012
    Posts
    8
    Do you mean that the BI tool will run the queries within my Access file and update the data? The BI tool I am using is called Tableau.

  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,641
    I'm not familiar with it, but whether it queries the Access tables directly or uses Access queries, they should get current data at the time they are run. The reason you requery a form is because it would have gotten data current at the point it opened, and for whatever reason you want to requery that data to catch any changes that occurred after the form was opened.

    That said, if your db is extracting (copying) data from an ODBC source and storing it separately, that process would need to be done to update the data in Access. My assumption is that is not the case though.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    akira is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Feb 2012
    Posts
    8
    Yes, right now when I changed the query within my Access file, and let the BI tool refresh, the data is still the old data, which means it is running my access queries.

    Is there a way to set my Autoexec queries in access to run at a timely interval?

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

Similar Threads

  1. Automatically Adding New Data to Tables
    By aquarius in forum Import/Export Data
    Replies: 1
    Last Post: 09-15-2010, 07:27 PM
  2. Replies: 3
    Last Post: 09-15-2010, 12:35 PM
  3. Automatically repeating tables within a form
    By sdoyle7798 in forum Access
    Replies: 2
    Last Post: 08-22-2010, 11:20 AM
  4. Automatically update datasheet
    By tammiep in forum Forms
    Replies: 1
    Last Post: 08-17-2010, 04:43 PM
  5. refresh datasheet as text changes
    By mkhan in forum Forms
    Replies: 0
    Last Post: 09-06-2008, 07:46 AM

Tags for this Thread

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