Results 1 to 5 of 5
  1. #1
    jaryszek is offline Expert
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    568

    Very slow time to refresh data in linked DNS table

    Hi,



    i am inpputting into linked table using VBA now() function Time of input.
    Problem is that my linked table is not refreshing ! while i am opening this,
    in database (Dbeaver on Postgres):

    Click image for larger version. 

Name:	Screenshot_6.jpg 
Views:	14 
Size:	67.1 KB 
ID:	34144

    In Access (times are not refreshed):

    Click image for larger version. 

Name:	Screenshot_5.jpg 
Views:	14 
Size:	73.3 KB 
ID:	34145


    Why?

    DNS is wrong or what?
    I didnt have that kind of issue in other tables...

    Best,
    Jacek

  2. #2
    Gicu's Avatar
    Gicu is offline VIP
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,122
    Jacek,

    Have you considered moving the auditing to the back-end (here is an example using triggers: https://wiki.postgresql.org/wiki/Audit_trigger)? How do you use Now()? VBA, pass-through, linked table editing?

    Cheers,
    Vlad

  3. #3
    jaryszek is offline Expert
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    568
    Hi Vlad,

    oo i should move table auditing and triggers to back-end but i solved the problem.
    Problem was lack of primary key within table.

    I am shocked that this cause the issue.

    Best,
    Jacek

  4. #4
    Minty is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    You shouldn't be shocked - without a primary key it's very hard for the odbc link to keep track of what's being updated, with a MS SQL Server linked table 90% of update query's won't work without a primary key.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  5. #5
    jaryszek is offline Expert
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    568
    thank you Minty,

    i had to see these on my own eyes ;-)

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

Similar Threads

  1. Replies: 2
    Last Post: 04-29-2016, 03:38 PM
  2. Insert INTO MS SQL Linked table too slow
    By green78 in forum SQL Server
    Replies: 5
    Last Post: 05-28-2015, 09:33 AM
  3. Slow INSERT on a Linked SQL Table
    By altemir in forum SQL Server
    Replies: 5
    Last Post: 07-22-2013, 04:57 PM
  4. Replies: 8
    Last Post: 03-20-2013, 11:39 AM
  5. Slow linked table
    By Okidoo in forum Programming
    Replies: 0
    Last Post: 05-19-2011, 03:02 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