Results 1 to 2 of 2
  1. #1
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265

    Ignore blank rows in a UNION ALL query

    I had to use a UNION ALL on an Inner, Left and Right outer join to create a FULL outer join. But I noticed that in my results there are many blank rows. Since I did UNION ALL to the underlying SQL code, I can't see the design grid. There is only Datasheet and SQL view.

    So I would have to modify my SQL code. Which of the 3 queries would I modify? What part of the query would I modify?

    Additionally, to help me understand this more, what is the origin of these blank rows?

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    How about creating a select query using the UNION ALL query as the record source and set the criteria to NOT Null for those fields you want to include in the results.

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

Similar Threads

  1. Ignore Date Range If Blank
    By Rustin788 in forum Forms
    Replies: 2
    Last Post: 09-25-2014, 08:35 AM
  2. Union of query with blank information
    By Huddle in forum Access
    Replies: 2
    Last Post: 01-02-2014, 09:49 AM
  3. Query Producing Blank Rows? Fault IIf Logic?
    By kestefon in forum Access
    Replies: 6
    Last Post: 12-18-2013, 06:13 PM
  4. Replies: 2
    Last Post: 12-12-2013, 02:13 PM
  5. Ignore blank on query expression.
    By zero3ree in forum Access
    Replies: 3
    Last Post: 06-11-2012, 11:22 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