getting previous record value
Posted: Thu Oct 25, 2007 12:57 pm
Hello to all,
There are few records from source table like this
there is no status value for 2 other records.My req is if id and name matches then need to put staus 'y' in two ther records also.
I used stage variables to get the previous record value, but it worked if there are only 2 records with same ids,for the third record ,it is putting previous record value 'space' because 2nd record doesn't have any value.Can you please tell me how to do that
Thanks
Sri
There are few records from source table like this
Code: Select all
id name date status
1 xxxx 01/01/01 y
1 xxxx 02/02/02
1 xxxx 05/05/05
I used stage variables to get the previous record value, but it worked if there are only 2 records with same ids,for the third record ,it is putting previous record value 'space' because 2nd record doesn't have any value.Can you please tell me how to do that
Thanks
Sri