If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
End of service calculation
what i have is an employee database and i want to apply the following
rules : Employee Name Total Package Total Per Day Additional days Total Working Months Total Working years Type :Termination/resignation If the employee is resigning before the completion of 1 year of service : He will be getting as benefits total working days -45 days of deduction + additional days If the employee is being terminated before the completion of 6 month He will get total working days+ additional days If the employee is being terminated after the completion of 6 month he will get 1 month salary + additional days |
#2
|
|||
|
|||
End of service calculation
You need to try working with Datediff. Datediff works like this:
Datediff(["m", [Yourfirstfield],[yoursecondfield]) You can also add or subtract months (the "m" is for months, you can also do "d" for days) So Datediff("m",[firstfield],[secondfield] +7) Experiment with that and see if you get the results you want. -- Milton Purdy ACCESS State of Arkansas "Tia" wrote: what i have is an employee database and i want to apply the following rules : Employee Name Total Package Total Per Day Additional days Total Working Months Total Working years Type :Termination/resignation If the employee is resigning before the completion of 1 year of service : He will be getting as benefits total working days -45 days of deduction + additional days If the employee is being terminated before the completion of 6 month He will get total working days+ additional days If the employee is being terminated after the completion of 6 month he will get 1 month salary + additional days . |
Thread Tools | |
Display Modes | |
|
|