Hi
I am using Crystal Report 11 and SQL 2005.
I have two tables
1]Timecard : which stores the employee time details from 1st of month to last of month. There is one more field which stores status of employee like if he working then 'WO' if he is on leave then 'AL'(depends on type of leave.
2]Previous Time card: This table stores the status of employee and overtime details.Especeilly this table is used to enter any previous entry of employee.
Ex.Lets say current month is september and last month August.Payroll is run on every 25th of month.
When payroll for september is run time card is generated, which will store the status of employee if working then then WO if on leave then AL.Now lets say one employee had some unpaid leave on 28th of august. This entry is done through seperate form and it is stored in table "previuos time card".
My question is:
At any given date i want to add the status of employee from time card table and previous time card table.Status of employee when he was on leave??How can i get the total count of status from both tables.
Still any calrification is required please let me know
Please help
I am using Crystal Report 11 and SQL 2005.
I have two tables
1]Timecard : which stores the employee time details from 1st of month to last of month. There is one more field which stores status of employee like if he working then 'WO' if he is on leave then 'AL'(depends on type of leave.
2]Previous Time card: This table stores the status of employee and overtime details.Especeilly this table is used to enter any previous entry of employee.
Ex.Lets say current month is september and last month August.Payroll is run on every 25th of month.
When payroll for september is run time card is generated, which will store the status of employee if working then then WO if on leave then AL.Now lets say one employee had some unpaid leave on 28th of august. This entry is done through seperate form and it is stored in table "previuos time card".
My question is:
At any given date i want to add the status of employee from time card table and previous time card table.Status of employee when he was on leave??How can i get the total count of status from both tables.
Still any calrification is required please let me know
Please help