Results 1 to 4 of 4
  1. #1
    securitywyrm is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    97

    How can I "slow down" an append or update query?


    The title is correct, I need a query to run SLOWER rather than faster. Specifically I'd like it to run one line at a time.
    The reason for this is that I'm updating information in a Sharepoint list, the server of which I am convinced is on an ISDN line for thousands of users. When I try to run the append query directly, there's a lot hanging and then hundreds of copies of the same record wind up getting added. Thus I was wondering if there's a way to 'slow down' a query, have it run one line at a time, to perhaps avoid the 'stutter' causing duplicate records.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    make a loop to update 1 set at a time....like :

    Code:
    dim vCity
    for each vCity in countrys
       sSql = "update table1.[field]=table2.field2 from table1,table2 where [city]='" & vCity & "'"
       docmd.runsql sSql 
    next

  3. #3
    NTC is offline VIP
    Windows 10 Access 2013
    Join Date
    Nov 2009
    Posts
    2,392
    fundamentally you have a Wide Area Network in the middle

    put both front & back on the same server - and remote into your front.

  4. #4
    securitywyrm is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    97
    Thank you, I think that will work! I'll give it a try as soon as I can.

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

Similar Threads

  1. Replies: 11
    Last Post: 07-14-2017, 11:13 AM
  2. Replies: 3
    Last Post: 02-08-2016, 09:52 AM
  3. Replies: 1
    Last Post: 06-14-2015, 09:48 AM
  4. Replies: 5
    Last Post: 02-05-2013, 10:57 PM
  5. Automating "Append" Query with Parameters
    By Monterey_Manzer in forum Queries
    Replies: 1
    Last Post: 10-04-2012, 12:00 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