Goodmorning,
I've got a 2d-array with about 1000 rows and 5 columns, now I want to write this into the database. Now I just have a loop through the Array and write each line seperately to the database.
It takes about 20 seconde. Can't this be done any faster. Like moving the array to a recordset and append the whole record set to the table? Any suggestions? Any help appreciated!
Kind regards, Karja
I've got a 2d-array with about 1000 rows and 5 columns, now I want to write this into the database. Now I just have a loop through the Array and write each line seperately to the database.
Code:
for x=1 to ubound(array)
rs.adddnew
rs![Field1] = array(x,1)
rs![Field2] = array(x,2)
rs![Field3] = array(x,3)
.....
rs.update
next x
Kind regards, Karja