Hi,
I have one requirement. While loading the data , based on the previous record we have to compare the current value. If its true I have to copy the previous column value in to current column.
How can I do this rek. I am using hash file to read the previous record.
please explain me.
Reading the target data as look up
Moderators: chulett, rschirm, roy
Re: Reading the target data as look up
Define 'previous'.deva wrote:Hi,
I have one requirement. While loading the data , based on the previous record we have to compare the current value. If its true I have to copy the previous column value in to current column.
How can I do this rek. I am using hash file to read the previous record.
please explain me.
If you mean previous row in a sorted data, then you could use the function RowProcGetPreviousValue().
gateleys
Re: Reading the target data as look up
You could also use RowProcCompareWithPreviousValue() to perform the comparison.
gateleys