Hi I have a database of employes and I need to sort them with a seniority number. This number will vary if employes quit or new one are hired. My table looks like this:
Dates (the name of the table)
No_employe (the primary key)
No_union (there is 2 different unions)
Date_seniority
Rank (if 2 employes have the same seniority date, they will have number 1, 2, 3, ... if not it's 0)
I need to order by No_union, Date_seniority and Rank after that I would like to have a number starting at 1 for the employe with the more seniority and going +1 for the second ...
Then I will use this number in some report and also in a few queries.
I tried a few things mention in earlier treads but I'm not really good with VB coding. Can someone help me with that problem?
Francois
Dates (the name of the table)
No_employe (the primary key)
No_union (there is 2 different unions)
Date_seniority
Rank (if 2 employes have the same seniority date, they will have number 1, 2, 3, ... if not it's 0)
I need to order by No_union, Date_seniority and Rank after that I would like to have a number starting at 1 for the employe with the more seniority and going +1 for the second ...
Then I will use this number in some report and also in a few queries.
I tried a few things mention in earlier treads but I'm not really good with VB coding. Can someone help me with that problem?
Francois