Click here to Skip to main content
16,004,887 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I need to store and retrive the report for Employee time sheet.

Input:

Employee select the date and fill activity

Emp_ID Date Project Task Time (hours)

50 10-Sep-12 TestProject1 Task1 1
50 10-Sep-12 TestProject1 Task2 1
50 10-Sep-12 TestProject1 Task2 1

Please suggest how i achive this to all employee (Table Design)


Thanks
Mohan
Posted

1 solution

for all employees
do not filter sql Query with employee-id means do not include employee-id in where condition
this way you will get time sheet data for all employees

now in your crystal report add group for employee-id
Happy coding!
:)
 
Share this answer
 
Comments
Sandip.Nascar 8-Oct-12 3:47am    
+ 5 from me
Aarti Meswania 8-Oct-12 3:48am    
thank you! :)
V Mohan 8-Oct-12 3:55am    
Hi Aarti , Thanks for your advice, can you give the table design that the above inputs stored in Database
Aarti Meswania 8-Oct-12 4:00am    
you want to display this data in report right?
you have already give structure of table,

improve your question,
it is confusing now
V Mohan 8-Oct-12 5:14am    
Sorry for confusion .please validate above table structure. Can i use the same table structure for storing and display nearly 100 employee .

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900