So here it is :-/
I tried it on various systems. Still the same.
AddNew is much faster.
Sub RSWriteSpeed()
Dim timer1 As Double
Dim timer2 As Double
Dim matrix() As Long
Dim lb%, ub%, x%
timer1 = 0
timer2 = 0
'Clear both Tables
CurrentDb.Execute ("Delete * From Table1;")...
Thanks for replying but ...
... LBound and UBound as variables does no real speedup with my code.
The "insert-into" Idea is great - I thought - but this is about 20 times slower than the addnew-thing.
Is there no copy-paste-like function as if I would copy-paste some range from excel to a...
Hello There,
for performance-enhancement i am unsucsessfully looking for a complement of rs.getRows() to save data from array to a recordset/table without looping through the array, like
for x LBound(myArray,2) to UBound(myArray,2)
rs.addNew
rs!value1 = myArray(0,x)
rs!value2 =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.