Results 1 to 5 of 5
  1. #1
    adt29 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2011
    Posts
    2

    Unhappy Query doest not show in Data Connections in Excel 2007

    I'm not sure if I'm using the best key words but hopefully the below explains it better:



    My Access database queries originally had values for fiscal year and month-- "2010" and month "Feb". I created a user form with a drop down menu that one can select the fiscal year and month from, and now the same queries that used to show up in Excel through the Data Ribbon-->Connections-->Add process no longer show. Only the tables do. I have at least 10 queries like this and would really like Excel to show them! What is the solution to this?

    Because I have now created a macro that runs through all the queries taking the input from the user form, it would be extremely counterproductive to reverse it back to putting in the fiscal year and month manually. The only thing I can think of is to copy and paste the data in my Excel sheets from the Access queries but this is in no way efficient either. Any suggestions welcome!

  2. #2
    wannakatana is offline Novice
    Windows XP Access 2007
    Join Date
    Jul 2011
    Posts
    1
    I wish there were a reply as I'm getting the same issue, some queries show up in the "select table" dialog and some don't.

  3. #3
    sturmster is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2012
    Posts
    1

    Some possible issues

    I know this post is a little old, but ran into this same issues and this is what I found. It appears that when using the Excel interface to Access that the SQL has to very standard. ie. Access has an NZ function but that isn't standard SQL. If your query has a NZ function in it, the query will not show in your select list.

    So, in my case, I changed the query to not use the NZ function. Instead I used an IIF statement testing for IS NULL. The query then showed up for me. I'm sure there are other non-standard SQL issues as well.

    If you're really stuck, eliminate a column at a time from your query until you find the problem.

  4. #4
    BettyJordan is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Nov 2012
    Posts
    2
    I also had the same problem with formatcurrent function in a formula field in my query, I took it out and the query showed up. Strange!

  5. #5
    rsACC99 is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2013
    Posts
    2
    I noticed Excel would not display any crosstab queries, and several others, for connection. My solution: Instead of selecting DATA | FROM ACCESS select DATA | FROM OTHER SOURCES | FROM MICROSOFT QUERY. This opens a familiar-from-2003 dialog which will lead you to the old Query Wizard. This wizard shows all the tables and queries.

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

Similar Threads

  1. Show data from query in a text box
    By jeffyyy in forum Forms
    Replies: 8
    Last Post: 10-16-2010, 11:45 AM
  2. Access 2007 doesn't show Stored Procedure option
    By DistillingAccess in forum Programming
    Replies: 0
    Last Post: 08-03-2010, 03:19 AM
  3. Replies: 0
    Last Post: 07-20-2010, 12:44 PM
  4. Replies: 0
    Last Post: 11-17-2009, 02:35 PM
  5. Error using left join accessing 2 active connections
    By peterg2000 in forum Programming
    Replies: 0
    Last Post: 10-05-2009, 05:04 PM

Tags for this Thread

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