I am having difficulty gathering the data for one. Here is the problem, when I try to gather the data using recordsets one gets to the end before the other and it gives an error message. Essentially it should work like this
Step 1: Get all employee who are to be paid
Step 2: For each employee get earnings & deductions for current period.
Step 3: Add EmployeeCode,earnings and deductions to payslip table.
Step 4: Create report with special formating features
Help me to gather the data first and then we will take it from there. I will give you an example, tbl is short for table.
tblEmployee: EmpleeCode = CATL01 has the followin earnings for the period:
tblEarnings: Salary 5000
Travel 600
Entert 600
tblDeductions:NIS 480
PAYE 75
from the above you want to build a table which the payslip data will be pull from to make the report.
tblPayslip should look like this:
EmpleeCode EarnCode EarnAmt DeductCode DeductAmt
CATL01 100 5000 005 480
CATL01 105 600 015 75
CATL01 110 600
Step 1: Get all employee who are to be paid
Step 2: For each employee get earnings & deductions for current period.
Step 3: Add EmployeeCode,earnings and deductions to payslip table.
Step 4: Create report with special formating features
Help me to gather the data first and then we will take it from there. I will give you an example, tbl is short for table.
tblEmployee: EmpleeCode = CATL01 has the followin earnings for the period:
tblEarnings: Salary 5000
Travel 600
Entert 600
tblDeductions:NIS 480
PAYE 75
from the above you want to build a table which the payslip data will be pull from to make the report.
tblPayslip should look like this:
EmpleeCode EarnCode EarnAmt DeductCode DeductAmt
CATL01 100 5000 005 480
CATL01 105 600 015 75
CATL01 110 600