I'm trying to figure a way to track the 1st date and last date in my db. I have an employee table and a sign in table. The two are linked by the EmpID. An employee will have couple of sign in dates e.g 10-3-03, 10-10-03, 10-17-03 and 10-24-03. I know how to get the last sign in date(dmax function or last). But the series will start over, e.g. 12-1-03 12-7-03, 12-14-03. How can I group these so I can get the first and last from the group? Also, once the group starts over I still need to keep the records to create a report. I know I need to add some fields to create a method to identfy the group but I'm not sure how keep the groups of sign in dates unique. Any help would be greatly appreciated.
thanks, Jim
thanks, Jim