cherosoullis
Registered User.
- Local time
- Today, 12:13
- Joined
- Jun 23, 2006
- Messages
- 47
Hello,
I have one table with employees and positions. Each position has a specific rate which is stored in another table (table2). Since the rates of the positions are changing, I want each time the employee get paid with the correct rate.
The problem is that I do not want to lose historic data since I want the rate to calculate the salary. I thought that the best way is to look up for the rate according to the position and the period that is valid.
I am trying days now and I cannot figure out how to make this happen.
Can you please help me.
I have attached herewith a small examble with the two table that I want to use the relationship.
I have one table with employees and positions. Each position has a specific rate which is stored in another table (table2). Since the rates of the positions are changing, I want each time the employee get paid with the correct rate.
The problem is that I do not want to lose historic data since I want the rate to calculate the salary. I thought that the best way is to look up for the rate according to the position and the period that is valid.
I am trying days now and I cannot figure out how to make this happen.
Can you please help me.
I have attached herewith a small examble with the two table that I want to use the relationship.