Results 1 to 4 of 4
  1. #1
    Waterdog's Avatar
    Waterdog is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2015
    Location
    Colorado
    Posts
    22

    Query leaving records out

    OK, so I'm essentially trying to create a database for processing product returns. I've been having issues with the form now showing data in the subform, which holds the actual product info, and in turn the report generated isn't showing correctly. I think I've narrowed the problem down. Looking back to the basics with the queries and in turn how the tables relate to each other. For data on the subform I have a table called "tblReturnedContent". From that I've got a couple other tables linked to it. One that gives the product name and another that provides a list of reasons for the returned item. Now, for some reason when I run the query on this it'll only show entries that contain a value in the field for reason returned. Far as I can tell I don't have anything set to make that a required field or anything. There are other products listed in the table that don't have anything chosen in the reason column and thus they don't show up in the query. Ultimately, my form and in turn the report isn't showing information that it should. Any ideas on where else I should be looking? Kind of at a loss right now as to what I'm missing.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Edit the join between the main table and the "reasons" table. The correct choice should be obvious. In SQL view, it would change INNER to LEFT or RIGHT as appropriate to their placement.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Waterdog's Avatar
    Waterdog is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2015
    Location
    Colorado
    Posts
    22
    Got it. Think I've got it working correctly now. Thanks for the suggestion!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No problem. Live long and prosper.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 4
    Last Post: 07-15-2013, 12:30 PM
  2. Replies: 1
    Last Post: 01-24-2013, 05:50 PM
  3. Replies: 2
    Last Post: 02-12-2011, 12:46 AM
  4. Replies: 3
    Last Post: 02-02-2011, 01:00 PM
  5. Update new record when leaving form
    By jpkeller55 in forum Access
    Replies: 6
    Last Post: 09-08-2010, 06:35 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