+ Reply to Thread
Results 1 to 2 of 2

Microsoft Query Table not populating if Document Moves

  1. #1
    Registered User
    Join Date
    08-02-2018
    Location
    Tucson
    MS-Off Ver
    2016
    Posts
    1

    Microsoft Query Table not populating if Document Moves

    I think that I understand the general reason for this problem, but I'm not sure of a solution or an alternative.

    I'm trying to create a document that will sort a list of POs as follows
    Services
    Goods
    Other

    It does this by checking if the Cost Center code matches the correct section and checks to see if it's already been paid (this is only for open invoices).

    I ended up making the list of invoices a named table, then used the Microsoft Query in Other sources under the data tab to define the table that it would sort. It worked fine, and allowed me to complete the rest of the project, but now if it's moved to a new folder it can't reference the original table because the location changed. If anyone has any tips or ideas I'd be grateful.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Microsoft Query Table not populating if Document Moves

    Go to Data -> Connections and select the connection in question. Right click on it and look at properties. Click the definition tab. Look at the connection string. That will have to be changed. What you see isn't always what you get here, so you might have to use VB

    Air Code
    Please Login or Register  to view this content.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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. Replies: 3
    Last Post: 05-07-2018, 03:41 PM
  2. Replies: 1
    Last Post: 09-18-2017, 01:54 AM
  3. Microsoft Query - Data Output table (VBA)
    By alan2624 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-31-2014, 10:48 AM
  4. Pivot table populating via Access query
    By alphaboomer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2012, 04:15 PM
  5. Microsoft Query seperates parameters in pivot table
    By eldoradotower in forum Excel General
    Replies: 1
    Last Post: 09-16-2008, 10:10 PM
  6. [SOLVED] Syntax Error - Using Microsoft Query and ODBC link to a table
    By James T in forum Excel General
    Replies: 0
    Last Post: 08-30-2005, 10:05 PM
  7. [SOLVED] Using Microsoft Query data in a pivot table.
    By slapana in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-11-2005, 01:06 PM

Tags for this Thread

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