Alder
Nov 18th, 2000, 11:59 PM
This is a simplified version of what im trying to do so
lets say I have two fields I am using. It's the concept that I cannot figure out.
Here are 2 fields I am using:
fldBookTitle = Title of the book
fldDateCheckedOut = Date book was checked out
There are multiple instances of each book being checked
out. For example, Peter Pan has been checked out 3 times,
Lord of the Rings was checked out 4 times. Each time a
book was checked out, the date of check-out was recorded.
What I want is for every book I have on my table, I
only want the latest record displayed in the query.
Example of data before query:
Peter Pan | 3/7/97
Peter Pan | 4/3/97
Peter Pan | 5/20/97
Lord of the Rings | 3/20/97
Lord of the Rings | 4/20/97
Lord of the Rings | 5/20/97
Lord of the Rings | 6/20/97
Result of Query:
Peter Pan | 5/20/97
Lord of the Rings | 6/20/97
Help with this would be greatly appreciated, Thank you.
lets say I have two fields I am using. It's the concept that I cannot figure out.
Here are 2 fields I am using:
fldBookTitle = Title of the book
fldDateCheckedOut = Date book was checked out
There are multiple instances of each book being checked
out. For example, Peter Pan has been checked out 3 times,
Lord of the Rings was checked out 4 times. Each time a
book was checked out, the date of check-out was recorded.
What I want is for every book I have on my table, I
only want the latest record displayed in the query.
Example of data before query:
Peter Pan | 3/7/97
Peter Pan | 4/3/97
Peter Pan | 5/20/97
Lord of the Rings | 3/20/97
Lord of the Rings | 4/20/97
Lord of the Rings | 5/20/97
Lord of the Rings | 6/20/97
Result of Query:
Peter Pan | 5/20/97
Lord of the Rings | 6/20/97
Help with this would be greatly appreciated, Thank you.