Hello I have a table (Accounts) with the following fields
DateDue
RentAmount
This stores rent charged each month. Every so often the rent will be changed (usuually increased).
I need to look at the table and record each unique rent value and the date of its FIRST occurance.
For example:
I may have in the table 20 records where RentAmount is 400
then 15 records where RentAmount is 500
then 25 records where RentAmount is 550
I would like prefereably a string to output as follows:
25/12/2005 - £400
25/06/2010 - £500
25/10/2020 - £550
So showing the date of first increase and rent amount.
Many thanks for any help - Mark
DateDue
RentAmount
This stores rent charged each month. Every so often the rent will be changed (usuually increased).
I need to look at the table and record each unique rent value and the date of its FIRST occurance.
For example:
I may have in the table 20 records where RentAmount is 400
then 15 records where RentAmount is 500
then 25 records where RentAmount is 550
I would like prefereably a string to output as follows:
25/12/2005 - £400
25/06/2010 - £500
25/10/2020 - £550
So showing the date of first increase and rent amount.
Many thanks for any help - Mark