>MyText="" >for i = 1 to alen(myarray,1) > MyText=MyText+myArray[i,1]+chr(13) >endfor >replace myMemo with MyText >
MyText=MyText+myArray[i]+chr(13)since the ALINES() function creates a one-dimensional array. Funny thing is it did not throw an error - it just gave me memofields filled with blank lines.