Results 1 to 3 of 3
  1. #1
    naseto981 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2015
    Posts
    2

    Query for date

    Hello every one,



    I have a field with dates when some products go out of date, and I have to make a query which checks if this products are out of date or no.I will be glad if someone help.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    This will show which Products have passed the BesttBeforeDate.

    SELECT ProductName
    , BestBeforeDate
    FROM tblProducts
    WHERE
    BestBeforeDate - Date < 0;

  3. #3
    naseto981 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2015
    Posts
    2
    I don't understand, it should be somethink like this ?
    Click image for larger version. 

Name:	cure.png 
Views:	4 
Size:	126.3 KB 
ID:	19374

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

Similar Threads

  1. Replies: 3
    Last Post: 12-02-2014, 07:58 PM
  2. Date Query: Annual Data Based off of Form Date
    By steveabni in forum Queries
    Replies: 4
    Last Post: 04-21-2014, 02:15 PM
  3. Replies: 3
    Last Post: 03-11-2014, 07:32 PM
  4. Replies: 5
    Last Post: 12-12-2013, 12:14 PM
  5. Replies: 3
    Last Post: 08-21-2012, 03:05 PM

Tags for this Thread

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