I and creating a online task list for work. Have everything working fine except when I display the results say on one user, I get he has done 12 tasks. (Meeting, Web, Course, Ticket, Ticket, Ticket, Web, Meeting, Meeting, Web, Course) each have a time amount for each task. But when I want it to display:
------------------------------------
Meeting - Total time: 2 hours
Web - Total time: 7 hours
Course - Total time: 1 hours
Ticket - Total time: 8 hours
------------------------------------
I get:
------------------------------------
Meeting - Total time: 2 hours
Web - Total time: 7 hours
Course - Total time: 1 hours
Ticket - Total time: 8 hours
Ticket - Total time: 8 hours
Ticket - Total time: 8 hours
Web - Total time: 7 hours
Meeting - Total time: 2 hours
Meeting - Total time: 2 hours
Web - Total time: 7 hours
Course - Total time: 1 hours
------------------------------------
So I get the totals fine but it repeats all occurnces of task with the total time instead of stopping.
I have a link to a image of a search for users doing a certain task. It lists 3 users and one task with the times but it repeats for users who have done many of one task.
Any Help?
Adam
------------------------------------
Meeting - Total time: 2 hours
Web - Total time: 7 hours
Course - Total time: 1 hours
Ticket - Total time: 8 hours
------------------------------------
I get:
------------------------------------
Meeting - Total time: 2 hours
Web - Total time: 7 hours
Course - Total time: 1 hours
Ticket - Total time: 8 hours
Ticket - Total time: 8 hours
Ticket - Total time: 8 hours
Web - Total time: 7 hours
Meeting - Total time: 2 hours
Meeting - Total time: 2 hours
Web - Total time: 7 hours
Course - Total time: 1 hours
------------------------------------
So I get the totals fine but it repeats all occurnces of task with the total time instead of stopping.
I have a link to a image of a search for users doing a certain task. It lists 3 users and one task with the times but it repeats for users who have done many of one task.
Any Help?

Adam