I am trying to write a code that will:
My form consists of the following fields with the following values:
EmployeeID - text
OTDate - date
HoursPay - double
RateOfPay - currency
TypeOfJob - Integer
Notes - text
The employee date of hire is contained in a tabel called tblEmployees in a field called DateOfHire.
Any help would be greatly appreciated.
Dan
- check an employees date of hire field
- compare it to todays date to get a years of service number
- then check the emoployees rank
- and if the rank equal 1 and the years of service is less then 1 then assign the value of 1
- then look up 1 in the table tblOvertimeRate sOf Pay and assign the vlaue listed in column 2 of that table to the rate of pay field in my form.
My form consists of the following fields with the following values:
EmployeeID - text
OTDate - date
HoursPay - double
RateOfPay - currency
TypeOfJob - Integer
Notes - text
The employee date of hire is contained in a tabel called tblEmployees in a field called DateOfHire.
Any help would be greatly appreciated.
Dan
Comment