+ Reply to Thread
Results 1 to 5 of 5

Help Needed to Create Query to eliminate Is Null Records

  1. #1
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Help Needed to Create Query to eliminate Is Null Records

    Folks,

    I have a table called "Radio_Issued" with three fields "Radio_ID", "Issue_Date" and "Return_Date". Now I want to create a Query to show only the records WHERE "Return_Date" Is Not Null.

    Purpose of this Query to list out how many Radios in hand and how many Radios issued.

    I tried to create a Query by setting the criteria “Is Not Null” in “Return_Date” field, but Failed, since some “Radio_ID” have both records (Is Null and Is Not Null) in “Return_Date” field.


    I have attached the Database and picture of what I am trying to accomplish.




    Thanks in advance,

    Joshi
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by krjoshi; 09-05-2014 at 07:50 PM.
    Cheers,

    Joshi
    Being with a winner makes you a winner

  2. #2
    Forum Contributor
    Join Date
    04-01-2009
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    280

    Re: Help Needed to Create Query to eliminate Is Null Records

    You can use a subquery as the criteria for your main query. The main difference would be no criteria on Retrun_Date, but on Radio_ID instead...

    Please Login or Register  to view this content.
    Putting this as the criteria for your main query will eliminate any Radio_IDs that are not returned.

  3. #3
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Re: Help Needed to Create Query to eliminate Is Null Records

    Hi Chance,

    Thank you so much for your swift response and help. But I am new in Access, can you please tell me what is subquery and where I have to put this criteria. Sorry I am beginner in Access.

    Thanks,
    Joshi

  4. #4
    Forum Contributor
    Join Date
    04-01-2009
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    280

    Re: Help Needed to Create Query to eliminate Is Null Records

    Just enter the line I gave you as the criteria for Report_ID in the sample query you provided.
    A subquery is a query that runs before the main query - it is just providing another way to select the data.

  5. #5
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Re: Help Needed to Create Query to eliminate Is Null Records

    Hi Chance2,

    Thank you so much...its working perfectly. Much much appreciated!

    Joshi

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 04-05-2012, 01:29 PM
  2. Eliminate Duplicate records
    By harshaputhraya in forum Excel General
    Replies: 2
    Last Post: 11-17-2007, 06:36 AM
  3. Identify, not eliminate, duplicate records
    By BinkyGidget in forum Excel General
    Replies: 7
    Last Post: 05-02-2007, 07:00 AM
  4. eliminate records based on 3 criteria!
    By cyoung315 in forum Excel General
    Replies: 2
    Last Post: 04-26-2007, 10:28 AM
  5. [SOLVED] how do i eliminate duplicate records?
    By RobR in forum Excel General
    Replies: 11
    Last Post: 05-03-2006, 10:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1