Feb 7, 2010, 4:25 PM
Post #2 of 2
Re: [arun10427] While loop confusion
[In reply to]
if i have 50 records, with X,Y and comments column(comments is empty column at start). My motive is based on the values of X and Y column I have to populate comments column.
If value of X is greater than 20
then I traverse the Y records till the value of Y reaches 5, If the number of Y records I had to traverse is greater than 10,I write
bad_not_fixed to the comments column corresponding to Y records traversed upto 5. If the number of Y records is less, I write fixed to comments for the Y records counted.
In short, count records till Y reaches value of 5, If counted records>10 "comments = bad_not_fixed " else "fixed"
Sorry about posting it again.