David, Try this trick:
A11 = DCOUNT(IN.TAB,@AM) Pos = 1 FOR A1 = 1 TO A11 IN.LINE = FIELD(IN.TAB[Pos, 99999999], @AM, 1) Pos += COL2() *SWAP @VM WITH @AM IN IN.LINE CUST.NUM = IN.LINE<1, 1> CUST.DESC = IN.LINE<1, 2> NEXT A1 Thanks, David A. Green www.dagconsulting.com (480) 813-1725 -----Original Message----- Okay, now I have a mixture of @VM and @AM in the table. The REMOVE 'stops' at every @VM and @AM. I only want it to 'stop' at @AMs. How do I do that? David Laansma ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/