Hi there
I have a query within access2003 that reads of another query as well as a local table and an access table. I tried to get the data out of this query into excel in the form of a pivot. I used one of my existing excel pivots to save time. I copied that pivot, renamed and opened the connection. Went into the Definitions tab, clicked on EDIT QUERY and returned all the existing fields. I then selected my select query and moved over all of the fields required and clicked NEXT to the stage where I needed to save the query. On clicking SAVE QUERY, I got the error stating that ODBC-connection to "database name_server name" failed. This stumped me as I could not see a reason for this error. I started testing, creating a select query, using a simple local table and that worked fine. I then used that same selected query and added the other access table and that worked fine as well. As soon as I added the query into this query and tried again, I got the error above. This means to me that the source of data does not accept a query within a query as the source of data for retrieving? If I use a simple append, add the data to a local table, I am A okay. Could someone please verify that this is the case or am I missing something and need to revisit this? Any help would be greatly appreciated.