Minkey
Registered User.
- Local time
- Today, 10:47
- Joined
- Jul 7, 2004
- Messages
- 659
I have the following columns in a table:
ID Room Hours used
1 1A 100
2 1A 200
3 2A 50
4 2A 55
and I need to ultimately show the last record of each type of room:
ID Room Hours used
2 1A 200
4 2A 55
Can anyone suggest the best way of achieving this - I don't want to use a separate table/query for each room as there will be hundreds of them !
I've used a combo box to filter the record and display the last one which is fine to view but this info has to be put into a report without any user intervention hence the query.
Any help/ suggestions would be greatly appreciated
ID Room Hours used
1 1A 100
2 1A 200
3 2A 50
4 2A 55
and I need to ultimately show the last record of each type of room:
ID Room Hours used
2 1A 200
4 2A 55
Can anyone suggest the best way of achieving this - I don't want to use a separate table/query for each room as there will be hundreds of them !
I've used a combo box to filter the record and display the last one which is fine to view but this info has to be put into a report without any user intervention hence the query.
Any help/ suggestions would be greatly appreciated