This forum is really good, and I'm really learning a lot and saving lot of time.
I got rows of data from a database into a ResultSet. Now, what is the quickest way to display it in Calc... I used loop through every row and column to display it in calc... But its taking more time, even when the data gets slightly bigger. I need to display it quickly.
Here is my earlier code :
Code: Select all
i = 2
r = 1
Do While Result.next()
for i = 1 to totalcols
' Result set in 1 based index and columns are 0 based
output_qcsheet.getcellbyposition(i-1,r).setString(Result.getString(i))
next i
r = r +1
Loop