+ Reply to Thread
Results 1 to 2 of 2

Link Excel linked table field to IBM query field

  1. #1
    Forum Contributor
    Join Date
    08-14-2006
    Location
    USA
    MS-Off Ver
    2019
    Posts
    686

    Link Excel linked table field to IBM query field

    I'm an Excel person, not Access, so I'm stumbling around in the dark!

    I have a preexisting query in Access, querying an IBM database.
    Every time I want info I have to enter one, two or ten search criteria into Field PONum

    I want to create a list in Excel, join it to the query Field PONum and just populate the Excel file with Hundreds of PONum(s) and return everything.
    Then I can use Index/Match on the results and reduce the thousands of times I have to run the Access query.

    SO this is what I've done so far:

    I made a list in Excel of 7 and 8 character whole numbers that can all be found in the IBM database.
    Col A is Text with preceding zeros so all are 8 characters - Header PO_Txt
    Col B is General, so Excel will assume numeric - Header PO_Num

    Using New Datasource > from file Excel I linked this Excel file to a new table in Access.
    Then I linked the PO_Num in Excel table to the field in Access query with an inner join. (Also tried PO_Txt
    And changed the SQL in the SQL View on my preexisting query

    I can't get the same error, so I can't provide the text, but a search led me to believe it's because the data types don't match.
    So I tried to determine the data type.
    Using the Database Documenter I learned the field PONum is Type: Time & Size: 16
    (But the results ALWAYS return a 7 or 8 character whole number and many of them are sequential)

    Now I'm getting a timeout #1013.

  2. #2
    Forum Contributor
    Join Date
    08-14-2006
    Location
    USA
    MS-Off Ver
    2019
    Posts
    686

    Re: Link Excel linked table field to IBM query field

    I believe it's working now because
    1. If I put in one or two criteria in Field PONum I get results
    2. If I put in criteria that doesn't exist in the Excel file I get NO results

    But I want ALL results for ALL entries in the Excel table

    I tried criteria Like "*" and get the timeout #1013

    I never got an error prior to adding the Excel table.

+ 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: 0
    Last Post: 08-15-2016, 02:07 PM
  2. [SOLVED] calculating field in powerpivot using linked table
    By nsr1989 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-24-2013, 12:31 PM
  3. Replies: 0
    Last Post: 06-26-2012, 09:06 PM
  4. Replies: 3
    Last Post: 03-03-2012, 12:16 PM
  5. Update Page Field on selection of another page field in excel pivot table
    By ashwanileon in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-29-2011, 12:33 PM
  6. Field changes in Make table query
    By maxthebear in forum Access Tables & Databases
    Replies: 1
    Last Post: 05-29-2010, 04:26 PM
  7. How to Reference a Web Query's Address Field to an external field?
    By Nivled in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-21-2005, 07:10 AM

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