+ Reply to Thread
Results 1 to 4 of 4

Refreshing only connection query

  1. #1
    Forum Contributor
    Join Date
    07-14-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    921

    Refreshing only connection query

    Hello

    only connection query can't be refreshed so that mean its always updated?
    mean if "A" table is only connection query
    and query "B","C","D" (loaded in worksheet query) Taking data between them and "A" table
    anytime I refresh "B", the "A" will be ready and always updated?
    I am refreshing queres manully by VBA and evrytime I refresh A before others like this
    Please Login or Register  to view this content.
    Shall I remove refreshing A?

    note: "A" query is geting data from same workbook table
    Last edited by Undo; 03-31-2023 at 08:47 AM.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,280

    Re: Refreshing only connection query

    Any queries that use a connection only query will run it when they are refreshed.
    Remember what the dormouse said
    Feed your head

  3. #3
    Forum Contributor
    Join Date
    07-14-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    921

    Re: Refreshing only connection query

    So shall I remove updating "A"? note that "B" query is loaded in worksheet and read from "A"

  4. #4
    Forum Contributor
    Join Date
    07-14-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    921

    Re: Refreshing only connection query

    After few testing I see that I dont need to update all tables in the query tree to update the final table, I can update the final table alone
    like I update table3 only and I got the updated data
    table3 geting data from table2 query, and table2 query get data from table1 query
    1.jpg

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Skip refreshing connection if Parameter is left blank
    By scorziello in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2021, 07:44 PM
  2. Linked Connection Table opening original workbook when refreshing
    By ShameyWinehouse in forum Excel General
    Replies: 3
    Last Post: 08-23-2018, 11:01 AM
  3. Establishing ODBC connection and refreshing data using Macro/VBA
    By jpark006 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-01-2016, 03:15 AM
  4. Replies: 2
    Last Post: 07-14-2015, 05:34 PM
  5. refreshing data connection erroring
    By 13lack13lade in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-27-2014, 03:08 AM
  6. Editing Connection Strings and refreshing Pivot Tables
    By fadydaddy in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 06-03-2012, 04:29 PM
  7. Refreshing Web Connection that requires login
    By RubberDuckey in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-07-2011, 03:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1