Results 1 to 2 of 2
  1. #1
    herbc0704 is offline Novice
    Windows XP Access 2007
    Join Date
    Jul 2010
    Posts
    16

    Error imprting union query to excel

    I have run into a problem in importing a complex union query to excel. I get the following error message.

    The Microsoft Office Access database engine could not findthe object ". Make sure the object exists and that you spell its name and the path correctly.

    The data that is driving the union is off an ODBC database. I have researched MS Support and found that i have a complex criteria driving the data. The criteria in question is the following
    >DateAdd("d",-Day(Date()),DateAdd("m",-3,Date())) And <=DateAdd("d",-Day(Date()),Date())



    I have five queries that some variation of the above sorting through dates.

    There seems to be no work around for this that I can find, in order to run this from excel. Doing this from excel would be easier as this spreadsheet would be setup a few users desktop and they can get the information at their on pace. These users are not "MS Access friendly".

    Is there a fix for this or a less complex criteria. Help greatly appreciated.

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    well, if the error is really this:

    The Microsoft Office Access database engine could not findthe object ". Make sure the object exists and that you spell its name and the path correctly.
    then the criteria has nothing to do with it (or it's not the only problem). MS errors encapsulate entity/object names in single quotes so it's giving you an error msg and telling you that it can't find an object named (blank). So the name of the object you're wanting to export isn't even being read.

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

Similar Threads

  1. Union Query
    By jlclark4 in forum Queries
    Replies: 3
    Last Post: 02-25-2011, 08:21 PM
  2. imprting text from Excel
    By Dovidle in forum Import/Export Data
    Replies: 4
    Last Post: 01-26-2011, 09:22 AM
  3. Union Query Help
    By jo15765 in forum Queries
    Replies: 7
    Last Post: 01-06-2011, 05:46 PM
  4. Please help me out with union query
    By radicrains in forum Access
    Replies: 1
    Last Post: 10-29-2010, 01:48 AM
  5. Need help with a Union Query
    By jdowdy in forum Access
    Replies: 1
    Last Post: 10-13-2009, 05:24 PM

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