Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 Numbering

Author  Topic 

TheAceMan
Starting Member

1 Post

Posted - 2002-07-26 : 17:07:55
I have a table with Employees, and the month and year they started. I need to number them in order of the month and year they started. Example: July 2001 is employee 1 and August 2001 is employee 2. However there may be multiple employees in a given month and year. It seems like this should be a simple task but I can not figure it out. I have a query that puts them in the right order but not sure how to update the ID with the correct number. I'm using Microsoft Access 2002.

Thanks

TheAceMan

KnooKie
Aged Yak Warrior

623 Posts

Posted - 2002-07-30 : 10:06:35
have you tried appending the resultset into a table with an autonumber field in it ?

This would then number them for you.

Other solutions exist but this is perhaps the easiest answer.

Paul
Go to Top of Page
   

- Advertisement -