howaboutthisone
Programmer
Hope this isn't to simplistic for everyone, but I'm not strong in SQL.
Ok here's my situation. I work for a healthcare company and so I need to build a report that captures the latest date value for a specific lab test result and places those results at the group footer level.
For instance, at the detail line item level you have multiple dates per patient
Name Test Date Test Result
John Doe 1/1/08 50
John Doe 1/30/08
John Doe 2/13/08 114
John Doe 3/1/08
John Doe 3/15/08
John Doe 6/12/08
At the group footer level I'd like to display this
John Doe 2/13/08 114
So at the group footer level I already have it grouped by patient, but I want to display the latest test date along with its results that are populated. In this case, it would be 2/13/08 for the test date and also display the 114 test result, displaying them at the group footer level.
Ok here's my situation. I work for a healthcare company and so I need to build a report that captures the latest date value for a specific lab test result and places those results at the group footer level.
For instance, at the detail line item level you have multiple dates per patient
Name Test Date Test Result
John Doe 1/1/08 50
John Doe 1/30/08
John Doe 2/13/08 114
John Doe 3/1/08
John Doe 3/15/08
John Doe 6/12/08
At the group footer level I'd like to display this
John Doe 2/13/08 114
So at the group footer level I already have it grouped by patient, but I want to display the latest test date along with its results that are populated. In this case, it would be 2/13/08 for the test date and also display the 114 test result, displaying them at the group footer level.