Results 1 to 2 of 2
  1. #1
    krutoigoga is offline Novice
    Windows Vista Access 2007
    Join Date
    Apr 2010
    Posts
    20

    Union Query and multiple entries

    I'm running into an issue with a union query - it is not properly gathering data from the table.
    Database is relatively simple - I enter numeric values in various fields:
    Example: Field [Front damage] - gets a numeric value of 1 every time a damage is found.
    There is a simple query which shows the sum of the values entered into each field per month. I compare the sum monthly with another table through a union query... this is where the problem occurs. For example: June 2011 in the union query - shows a sum of 16 - however the simple query shows a sum of 17 for the same month.
    The issue seems to be with double entries on the same day. What i mean by that is - On June 16 (ID 2468) there are entries in two fields - Field A has a numeric value of 1 and Field B has a numeric value of 1. Seems like the union query is only picking up one of the values. How can I get the query to pick up both values?
    Any help is appreciated!


    Database example attached.

  2. #2
    krutoigoga is offline Novice
    Windows Vista Access 2007
    Join Date
    Apr 2010
    Posts
    20
    Union all instead of union ......... that what copy paste does!

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

Similar Threads

  1. Field with multiple entries....?
    By norlo in forum Database Design
    Replies: 1
    Last Post: 05-12-2011, 12:04 PM
  2. Multiple entries wanted in Form
    By taspangler in forum Access
    Replies: 3
    Last Post: 05-02-2011, 12:41 PM
  3. Multiple extra entries
    By EDEd in forum Forms
    Replies: 1
    Last Post: 01-30-2011, 10:59 AM
  4. Multiple entries
    By danelliott in forum Access
    Replies: 3
    Last Post: 11-08-2010, 08:08 AM
  5. Multiple entries
    By Ziggy-R in forum Access
    Replies: 11
    Last Post: 10-03-2010, 07:42 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