This is an excerpt from my program: visszhang = DBconX.Exec(quert) FOR EACH visszhang nev.Add(visszhang!"FName") ut.Add(visszhang!"FPath") nagy.Add(Round(visszhang!"FSize" / 1048576, -2)) mikor.Add(visszhang!"FChanged") kotet.Add(point) NEXT dis = nev.Count gV.Rows.Count = dis FOR i = 0 TO dis - 1 gV[i, 0].Text = nev[i] gV[i, 1].Text = kotet[i] gV[i, 2].Text = ut[i] gV[i, 3].Text = nagy[i] gV[i, 4].Text = mikor[i] NEXT
The problem is: I'm handling a database, and during the querries I need to operate with tens of thousands of five-columned rows. It is desperately slow creation. Is it possible to change the algorithm and make it faster? Currently I'm filling the rows from 5 previously created arrays. I need some help, thanks! ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user