i have a form
with a date field
I have a table with products within and their date registration and code.
What I want to do is generate a record list, that will take each record and the MOST recent ie. taking the record with the most up to date registration with a given code.
How could i structure this in my query criteria?
example:
if the table is:
01 - pippo - 01/01/2005
01 - verdi - 23/08/2005
01 - blu - 24/08/2005
02 - giallo - 22/08/2005
02 - arancio - 27/08/2005
03 - marrone - 22/07/2004
the result of the query (if the search date is 28/08/2005)
01 - blu - 24/08/2005
02 - arancio - 27/08/2005
03 - marrone - 22/07/2004
with a date field
I have a table with products within and their date registration and code.
What I want to do is generate a record list, that will take each record and the MOST recent ie. taking the record with the most up to date registration with a given code.
How could i structure this in my query criteria?
example:
if the table is:
01 - pippo - 01/01/2005
01 - verdi - 23/08/2005
01 - blu - 24/08/2005
02 - giallo - 22/08/2005
02 - arancio - 27/08/2005
03 - marrone - 22/07/2004
the result of the query (if the search date is 28/08/2005)
01 - blu - 24/08/2005
02 - arancio - 27/08/2005
03 - marrone - 22/07/2004