B
benbanyas
I am trying to run a query that has these columns
"Catalog Name" "Date Entered" "Session Number" "Item number"
The Item Number is specific to the session number (i.e. Session 3 Item 1,
Session 2 Item 2) and there is one session per catalog per day. I want the
query to return the most recent date an item was recorded for each catalog,
the Session Number and Item Number for that session. All of these columns
have duplicates so just using the "Max" total won't work. The closest I can
get is by using Max on "Date Entered", sorting Descending on "Date Entered",
and using Max on "Item Number." The problem is this returns the Max Item
Number for each date's session for the catalogs and not just the most recent
date data was entered.
Thanks for any help you can provide!
-Ben Banyas
"Catalog Name" "Date Entered" "Session Number" "Item number"
The Item Number is specific to the session number (i.e. Session 3 Item 1,
Session 2 Item 2) and there is one session per catalog per day. I want the
query to return the most recent date an item was recorded for each catalog,
the Session Number and Item Number for that session. All of these columns
have duplicates so just using the "Max" total won't work. The closest I can
get is by using Max on "Date Entered", sorting Descending on "Date Entered",
and using Max on "Item Number." The problem is this returns the Max Item
Number for each date's session for the catalogs and not just the most recent
date data was entered.
Thanks for any help you can provide!
-Ben Banyas