Results 1 to 3 of 3
  1. #1
    jbickl is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2011
    Posts
    14

    Question Display results with count of 0

    Hello,

    I have a report which pulls from two tables. The first table is the "main" table, and the second table has multiple records which link with 1 record in the main table. The report displays data from the main table and then counts the number of records from the second table for each of the main table's records. This part works fine. The problem is that those main records which have no corresponding records in the second table do not show up in the report at all.



    I don't want to have to put in a "dummy" record in the second table in order for the main record to show up in this report. Any ideas?

    Thanks!

  2. #2
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Change the join of the two tables in your query - show all records from table a regardless of whether it finds matching records in table b or not.

  3. #3
    jbickl is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2011
    Posts
    14
    Thanks! Much appreciated.

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

Similar Threads

  1. Count results
    By funkygoorilla in forum Reports
    Replies: 7
    Last Post: 12-19-2011, 10:30 PM
  2. Display QUERY results into SUB FORM
    By taimysho0 in forum Programming
    Replies: 9
    Last Post: 11-23-2011, 12:26 PM
  3. Display record count
    By jgelpi16 in forum Reports
    Replies: 5
    Last Post: 11-30-2010, 09:02 PM
  4. display query results in a form
    By P5C768 in forum Queries
    Replies: 3
    Last Post: 08-14-2009, 03:02 PM
  5. Form to display results
    By Zholt in forum Forms
    Replies: 9
    Last Post: 05-07-2009, 10:09 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