Results 1 to 2 of 2
  1. #1
    Dave_D's Avatar
    Dave_D is offline Advanced Beginner
    Windows XP Access 2010 64bit
    Join Date
    Aug 2015
    Posts
    67

    Query result illustrates results on main form

    I was recently asked to modify my DB do to duplicate data being imported. I developed the necessary queries to eliminate the duplicates; all that works just fine. To execute these queries, I have been using DoCmd.OpenQuery <query name>. When it executes, the results open and appear on my main form. This has never happened to me using the OpenQuery command before. These are NON action queries. What might be causing this to open which other queries, using the OpenQuery do NOT show there results. Thanks!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    Select queries will ALWAYS display. Only action queries do not.

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

Similar Threads

  1. Replies: 3
    Last Post: 03-18-2016, 10:07 AM
  2. Replies: 3
    Last Post: 03-18-2016, 02:02 AM
  3. Reference query results in a Main Form
    By Mischief1 in forum Forms
    Replies: 10
    Last Post: 04-02-2013, 01:03 PM
  4. Replies: 2
    Last Post: 12-16-2012, 02:35 PM
  5. Replies: 1
    Last Post: 07-20-2012, 09:48 AM

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