... as many as 15000 rows, I have to transform it to an array to do some operations on the data. Rigth now I'm doing this. Local xArr:={} Local xDb:=tDolphinQry():New("select f1, f2, f3 from xTable", oSvr) Local x:=0 For x=1 to xDb:nRecCount xDb:getRow() Aadd(xArr,{f1,f2,f3,1,.F.}) xDb:Skip() ...