B
bknight
I have a table indexed and has dates with data. What I would like to do is
search for a minor difference between a date and the next date and output x
number of days AFTER the day the minor difference was found. ie:
Date Diff
5/1/2009 +50
5/4/2009 -25
5/5/2009 +04 This would be my definition of minor change
5/6/2009 Output data fields for this date
5/7/2009 Output data fields for this date
5/8/2009 Output data fields for this date
5/11/2009 Output data fields for this date
5/12/2009 Output data fields for this date
End output UNTIL the next minor change found (Note the minor change could be
found in a previous output, which would extend the outputs x days)
search for a minor difference between a date and the next date and output x
number of days AFTER the day the minor difference was found. ie:
Date Diff
5/1/2009 +50
5/4/2009 -25
5/5/2009 +04 This would be my definition of minor change
5/6/2009 Output data fields for this date
5/7/2009 Output data fields for this date
5/8/2009 Output data fields for this date
5/11/2009 Output data fields for this date
5/12/2009 Output data fields for this date
End output UNTIL the next minor change found (Note the minor change could be
found in a previous output, which would extend the outputs x days)