Anserk, it gives me a corrupt file error and office won rd doesn't open table.rtf for me I explain you I have a Do while loop Function Print_Schedule() Local aTable,a1,n,aTemp,x,aFlags:={} local c1,c2 local cFileName := "table.rtf" local oFile := FCreate(cFileName, 0) aTable := {} Do while...