kaushik
New Member
kindly help in this problem
i want to develope a code which counts prev data .
like
1 mandy
2 joseph
3 tt
4 uuu
but my o/p is like
4 uuu
3 tt
2 joseph
1 mandy
i m using this code
find prev item where item-num=xsome_var.
repeat i=0 to 4:
find prev item no-error no-lock.
if avail item then
do:
disp item-num name.
end.
end.
kindly help me in thid regard
i want to develope a code which counts prev data .
like
1 mandy
2 joseph
3 tt
4 uuu
but my o/p is like
4 uuu
3 tt
2 joseph
1 mandy
i m using this code
find prev item where item-num=xsome_var.
repeat i=0 to 4:
find prev item no-error no-lock.
if avail item then
do:
disp item-num name.
end.
end.
kindly help me in thid regard