× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi everyone
We are on V7r3
We have a file that is an audit of the available quantity of products
The fields are
Product, time_stamp, Available_Qty
I need to obtain the LAST record for a product within the same day
For example
Product
time_stamp
Available_Qty
5
2020-11-06-19.19.33.418000
6,469
6
2020-11-06-19.19.17.852000
1,645
35
2020-11-06-19.20.34.152000
1,595
65
2020-11-06-19.20.14.041000
1,522
70
2020-11-06-19.19.36.783000
4,433
70
2020-11-06-22.03.12.252000
4,431
91
2020-11-06-19.20.23.527000
8,890

Which would then result in
Product
time_stamp
Available_Qty
5
2020-11-06-19.19.33.418000
6,469
6
2020-11-06-19.19.17.852000
1,645
35
2020-11-06-19.20.34.152000
1,595
65
2020-11-06-19.20.14.041000
1,522
70
2020-11-06-22.03.12.252000
4,431
91
2020-11-06-19.20.23.527000
8,890

Hope this makes sense

Alan Shore
E-mail : ASHORE@xxxxxxxx<mailto:ASHORE@xxxxxxxx>
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.