dbcolumn and dblookup returns a list with a value from each line in a view. They are in the same order for each column returned. So you pull the values and then use an @for to loopthrough them. You may want to think about renaming your fields. The code below works where each line has 3 fields. (prodfield, descfield and qtyfield) They all have their line # appended to them. The first line prodfield would be prodfield_1 and so on.
prodvals:=@db...(...prodcol);
descvals:=@db...(...desccol..);
qtyvals:=@db...(...qtycol..);
@for(i:=1;i<=@count(prodvals);i:=I+1;
linenostr:=@text(i);
@setfield("prodfield_"+ linenostr ; prodvals[i]);
@setfield("descfield_"+linenostr ; descvals[i]);
@setfield("qtyfield_"+linenostr ; qtyvals[i])
)