Results 1 to 4 of 4
  1. #1
    yaronym is offline Novice
    Windows 10 Access 2016
    Join Date
    Jan 2017
    Posts
    2

    last entry by date

    we have a table that includes several prices for each item. for example see below table.
    we would like a query to show us only the last price by date for each productPartID.
    how do we do that?

    RequestNumber ProductPartID ProductName Quantity OrderNumber Price OrderDate
    1 B45114 120 - BLK 45 1 1/4"(20/40) 1000 519189 0.92 11/7/2016
    1 B45114 120 - BLK 45 1 1/4"(20/40) 1000 519320 0.79 12/9/2016
    1 B4512 120 - BLK 45 1/2"(50/200) 100 519189 0.25 11/7/2016
    1 B4512 120 - BLK 45 1/2"(50/200) 100 750691 0.22 12/9/2016
    1 B4512 120 - BLK 45 1/2"(50/200) 100 519320 0.22 12/9/2016

    for example B45114 we want to see only OrderNumber 519320 with price 0.79 because it is has the most recent price for this item.



  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
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    yaronym is offline Novice
    Windows 10 Access 2016
    Join Date
    Jan 2017
    Posts
    2
    I will try to study the information in your link. thank you so much for responding.

  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, and welcome to the site by the way! Post back if you get stuck.
    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. Date entry issue on form...
    By willmafingerdo in forum Access
    Replies: 15
    Last Post: 08-30-2016, 09:09 AM
  2. Query date entry
    By NightWalker in forum Queries
    Replies: 3
    Last Post: 07-07-2016, 07:57 AM
  3. Replies: 1
    Last Post: 01-18-2014, 08:33 PM
  4. Automatic Date Entry
    By Al77 in forum Access
    Replies: 3
    Last Post: 02-27-2012, 12:06 PM
  5. Date entry
    By kellyd in forum Access
    Replies: 3
    Last Post: 09-24-2009, 02:23 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