I have a query that returns the following type of results.
StartDate EndDate RecordDate
1/1/2003 1/31/2003 2/10/2003
2/1/2003 2/28/2003 3/10/2003
3/1/2003 3/31/2003 4/10/2003
4/1/2003 4/30/2003 5/10/2003
etc....
I have created a report showing this information.
I would like to include a flag in the report to indicate if the StartDate of a line is more than the EndDate + 1 day of the line above it (indicating there is a gap in the data). I am not sure how to "store" the end-date of the line above in a report however to do any comparison.
Any suggestions ???
StartDate EndDate RecordDate
1/1/2003 1/31/2003 2/10/2003
2/1/2003 2/28/2003 3/10/2003
3/1/2003 3/31/2003 4/10/2003
4/1/2003 4/30/2003 5/10/2003
etc....
I have created a report showing this information.
I would like to include a flag in the report to indicate if the StartDate of a line is more than the EndDate + 1 day of the line above it (indicating there is a gap in the data). I am not sure how to "store" the end-date of the line above in a report however to do any comparison.
Any suggestions ???