Results 1 to 3 of 3
  1. #1
    yellowgelb is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2015
    Posts
    14

    Rows with missing data are not shown. Why?


    Hi
    I am using the following code for a query to show data in a combo box. The Query is working, but I also need to see the rows where I got only data for the event and the region and no maximum or minimum date data. Can anyone help me to fix my problem?

    Code:
    SELECT tblEvent.EveNumber, tblEvent.EveRegionRef, Min(tblBasicData.CatDate) AS MinOfCatDate, Max(tblBasicData.CatDate) AS MaxOfCatDate
    FROM tblEvent INNER JOIN tblBasicData ON tblEvent.[EveNumber] = tblBasicData.[CatEventRef]
    GROUP BY tblEvent.EveNumber, tblEvent.EveRegionRef;
    Thanks a lot for your help!!!

  2. #2
    NoellaG's Avatar
    NoellaG is offline VIP
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,180
    Hi,

    you could try to use a left outer join between the tables in stead of an inner join.

  3. #3
    yellowgelb is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2015
    Posts
    14
    Thanks to you NoellaG!
    Now it's working. Great.

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

Similar Threads

  1. Replies: 3
    Last Post: 04-30-2014, 11:19 AM
  2. Replies: 2
    Last Post: 09-11-2013, 07:00 PM
  3. Data entered into form is not shown in Table
    By engr_saud1 in forum Forms
    Replies: 5
    Last Post: 04-07-2013, 06:34 AM
  4. Replies: 1
    Last Post: 07-14-2012, 01:37 AM
  5. Replies: 0
    Last Post: 11-16-2008, 09:46 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