I need to find the difference between dates each time an activity was performed. My report is grouped by unitid(location), then ActivityCode(activity perfomed at the location). I need the difference of the {HISTORY.COMPDTTM}(date the activity was completed)for each instance of each location and each activity. The data looks like this:
GC0003 Arrowhead Elementary School
Completed Date WO# Completed By Activity/Description
6/11/10 940960 PR2203/MOWING TIER 3
6/14/10 942707 PR2203/MOWING TIER 3
6/28/10 945317 PR2203/MOWING TIER 3
7/12/10 940529 PR2203/MOWING TIER 3
6/17/10 943131 PR2405/CHEMICAL APP
7/9/10 951127 PR2405/CHEMICAL APP
7/30/10 960379 TRAVIS JONES PR5059/INSPECT SCHOOL
Thanks in advance,
TDH
TDH
Business Application Specialist
GC0003 Arrowhead Elementary School
Completed Date WO# Completed By Activity/Description
6/11/10 940960 PR2203/MOWING TIER 3
6/14/10 942707 PR2203/MOWING TIER 3
6/28/10 945317 PR2203/MOWING TIER 3
7/12/10 940529 PR2203/MOWING TIER 3
6/17/10 943131 PR2405/CHEMICAL APP
7/9/10 951127 PR2405/CHEMICAL APP
7/30/10 960379 TRAVIS JONES PR5059/INSPECT SCHOOL
Thanks in advance,
TDH
TDH
Business Application Specialist