How do I load the elements of an array into a database using the SQL insert statement?? Any help appreciated.
TNN, TOM
TNPAYROLL@AOL.COM
TOM
TNN, TOM
TNPAYROLL@AOL.COM
TOM
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Set rst = db.OpenRecordset(...)
DBEngine(0).BeginTrans
For i = 0 To 19
rst.AddNew
For j = 0 To 59
rst.Fields("Field" & CStr(j)) = MyArray(i, j)
Next j
rst.Update
Next i
DBEngine(0).CommitTrans
rst.Close
Set rst = Nothing