ALINES(aTables,STRTRAN(thisform.ChildList,",",CHR(13)+CHR(10))) FOR nTable=1 TO ALEN(aTables,1) * whatever you need to do with aTables[nTable] ENDFOR