I have a flat file database with data like the following:
01|Greg|5
02|John|1
02|John|5
03|Mary|3
04|Matt|2
02|John|3
with the form being ID|Name|Hours. How can I extract just, for instance, John's hours and show that he has worked 9 hours total (1 + 5 + 3)? I have found from various sites how to display a single person's information, but no idea how to do the rest.