Hi everyone. I'm new to Access and don't use it frequently. I've taught myself how to use MAX and MIN values in a query with some success, but I have a user request that's a bit more tricky. For the simplified version of a table below, I need to create a query that will return the SECOND most recent unique SoldDate along with all the listed fields.
tblTransactions
Fields:
CustNumber
TransNumber
SoldDate
ProductName
Price
The table consists of multiple instances of TransNumbers and I need to return all data items associated with the second most recent SoldDate. I've scoured my Access For Dummies book and it's confirmed I'm a dummy. Can someone provide some insight on a solution? I have used this forum a few times in the past for far more complex issues and have found everyone's advice and guidance invaluable and I truly appreciate it. Any suggestions would be appreciated as always. Thanks so much!
-Peter
tblTransactions
Fields:
CustNumber
TransNumber
SoldDate
ProductName
Price
The table consists of multiple instances of TransNumbers and I need to return all data items associated with the second most recent SoldDate. I've scoured my Access For Dummies book and it's confirmed I'm a dummy. Can someone provide some insight on a solution? I have used this forum a few times in the past for far more complex issues and have found everyone's advice and guidance invaluable and I truly appreciate it. Any suggestions would be appreciated as always. Thanks so much!
-Peter