Results 1 to 3 of 3
  1. #1
    Icky_Joe is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2010
    Location
    Washington, DC
    Posts
    7

    not count date fields if the same


    Hi. I am an Access 2007 user with limited query skills. I need to run a query using 2 separate date columns. I would like to not count the records where the dates are the same. Please help.

  2. #2
    John_G is offline VIP
    Windows XP Access 2003
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    Hi -

    Suppose your date fields are Date_A and Date_B. Set the criteria for Date_A to : <> [Date_B]

    But a word of caution - that will (probably) only work if the two date fields do not contain a time component, i.e. they were set using Date() or a form that entered only the date.

    HTH

    John

  3. #3
    Icky_Joe is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2010
    Location
    Washington, DC
    Posts
    7
    John - thanks so much for taking the time and helping me. Worked perfectly.

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

Similar Threads

  1. Count records since date
    By sotssax in forum Queries
    Replies: 10
    Last Post: 03-07-2012, 07:30 PM
  2. Replies: 1
    Last Post: 02-25-2011, 06:11 PM
  3. Count Restricted by Date
    By cgjames in forum Queries
    Replies: 3
    Last Post: 01-19-2011, 04:41 PM
  4. Count and Sum of unbound fields?
    By C90RanMan in forum Forms
    Replies: 0
    Last Post: 07-29-2010, 01:17 PM
  5. two fields needing to look like one for a count how?
    By techexpressinc in forum Queries
    Replies: 2
    Last Post: 05-29-2009, 01:06 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