Hi all,

In my project of multiple forms (main form, subform1, 2 , 3 etc)
(Main form is Employees, Subforms are Attendance, salary details, payment)

Now i want to calculate the payment based on the salary details (Basic, Allowances etc) and the attendance (days worked and overtime hours). Overtime pay should be based on the basic only.

Maybe the following codes/syntax (from microsoft) will help....