I cannot quite get my head around this problem so any help would be appreciated.
I have created an array from a recordset - the data in which is ok and looks like this:
Date Value
14/01/1998 4
28/11/1991 4
04/02/1982 2
30/10/1980 1
12/03/1975 1
What I want to do is pick up the date of the latest change of the value, in this example it would be 28/11/1991, but if there was no change in the value pick up the earliest date in the list (12/03/1975).
I am guessing that it will be a loop but not sure how to code it.
David
Remember: You only know what you know
and - you don't know what you don't know!
I have created an array from a recordset - the data in which is ok and looks like this:
Date Value
14/01/1998 4
28/11/1991 4
04/02/1982 2
30/10/1980 1
12/03/1975 1
What I want to do is pick up the date of the latest change of the value, in this example it would be 28/11/1991, but if there was no change in the value pick up the earliest date in the list (12/03/1975).
I am guessing that it will be a loop but not sure how to code it.
David
Remember: You only know what you know
and - you don't know what you don't know!