Results 1 to 7 of 7
  1. #1
    alfcee is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    3

    Exclamation Query contents are deleted after exporting the query results


    I tried to export my query results into MS Excel. The data was exported correctly. The problem is that when I ran the query again and error is now displayed. "Query must have at least one destination field"

    How can this have happened?

  2. #2
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    How are you exporting? What are the exact steps you are taking?

  3. #3
    alfcee is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    3
    steps:
    1. right click on the query at the sidebar.
    2. select export
    3. select excel
    4. in the wizard, select filename
    5. select save data format
    6. proceed to export

    same result if we use the export button in ribbon

  4. #4
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    Do you have the the query open at all during this? Have you saved the query before doing this? Do you have Service Pack 1 for EITHER Windows 7 or Office 2010 installed?

    Does it happen on only this database or in any of them?

  5. #5
    alfcee is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    3
    i have saved the query already and closed the query before exporting. i have the latest service packs for my windows 7 and office 2010.

    also if i tried not to save the data format the problem does not occur

  6. #6
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    It might be a bug in Access or the SP1. Can you upload a copy of it so I can test it in a non SP1 environment?

  7. #7
    Alexfighter is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2012
    Posts
    1
    Quote Originally Posted by boblarson View Post
    It might be a bug in Access or the SP1. Can you upload a copy of it so I can test it in a non SP1 environment?
    Any news in this?

    I have the same problem in a Windows 2003 Server x86 with Access 2003. There are some annoying details:
    I have three MDB files that do the same, just in different paths. 2 out of 3 started to suffer this bug. I've made things like compare/repair, or totally deleting the queries/macros that auto export and making them again manually. But the heaviest thing I've tried is to copy the MDB that does work fine, and change the paths of the linked tables/export paths to "convert" the one that works in the ones that fail. But when I do that, it starts failing too.

    I don't have a clue about it.

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

Similar Threads

  1. Replies: 6
    Last Post: 05-14-2012, 07:24 AM
  2. #Deleted issue with Delete/Append Query
    By WendyCha in forum Access
    Replies: 4
    Last Post: 08-05-2011, 08:34 AM
  3. Replies: 3
    Last Post: 07-27-2011, 02:07 PM
  4. Exporting a Query to Excel
    By tcheck in forum Access
    Replies: 3
    Last Post: 07-22-2011, 05:00 PM
  5. Exporting Query Results to an existing Excel Workbook
    By Dnphm in forum Import/Export Data
    Replies: 3
    Last Post: 07-13-2010, 11:40 AM

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