S
Steve A
I'm trying to create a query on a SQL Server table in Access 2000 that at
it's basic level has 3 columns:
AccountNumber
DateCollected
UsageData
There are 1 or more records for each AccountNumber.
What I want to return are the 12 most recent records (or a lesser number if
12 do not exist), based on DateCollected for each AccountNumber.
When I try using Top 12 in the query builder, I end up with 1 record for
each AccountNumber, DateCollected, UsageData combination. Is there an easy
way to get the results I want in a query?
it's basic level has 3 columns:
AccountNumber
DateCollected
UsageData
There are 1 or more records for each AccountNumber.
What I want to return are the 12 most recent records (or a lesser number if
12 do not exist), based on DateCollected for each AccountNumber.
When I try using Top 12 in the query builder, I end up with 1 record for
each AccountNumber, DateCollected, UsageData combination. Is there an easy
way to get the results I want in a query?