>select myCursor >scan > if llCondition > create cursor myCursor2 (field1 i, field2 m) > select myCursor > scatter name m.loCursor2 memo > Select myCursor2 > Append Blank > Gather Name m.loCursor2 Memo > select myCursor > endif >endscan >>
Select myCursor liCntr = 0 Scan If llCondition *!* create cursor myCursor2 (field1 i, field2 m) *!* select myCursor *!* scatter name m.loCursor2 memo *!* Select myCursor2 *!* Append Blank *!* Gather Name m.loCursor2 Memo *!* select myCursor liCntr = liCntr+1 liID = myCursor.Id lcCursor = "myCursor"+Padl(Transform( m.liCntr ),2,'0') Select * From myCursor Into Cursor (m.lcCursor) NOFILTER Readwrite Where myCursor.Id = ?m.liID Endif EndscanThis works, ofcourse O.K. except...