I have a query that pulles information about activities that occured at different times on one day. So i made it sort Assending by the time/date field and it is sorted correctly. Now i need to retrieve the First record and the last record from the query from the date/time filed. I tried using DLast and DFirst but in a sorted query they do not work correctly. They work fin in a table but that wont meet my needs
ActivityID
Description
ClientID
TimeID
particapated
the query sorts based on the timeId field. All i need is a way to get the first record and last record in the TimeID field. Thanks in advance for your help...
ActivityID
Description
ClientID
TimeID
particapated
the query sorts based on the timeId field. All i need is a way to get the first record and last record in the TimeID field. Thanks in advance for your help...