J
Jesper F
Which of the two methods below is faster/better/safer when
adding say 50 new records to a table:
1)
For i = 1 to 50
rs.addnew
rs!field1 = x
rs!field2 = Y
rs.update
Next
2)
For i = 1 to 50
db.execute("SELECT INTO..."), dbFailOnError
Next
It seems to me they do the same and I use them both but
which is preferable if any?
adding say 50 new records to a table:
1)
For i = 1 to 50
rs.addnew
rs!field1 = x
rs!field2 = Y
rs.update
Next
2)
For i = 1 to 50
db.execute("SELECT INTO..."), dbFailOnError
Next
It seems to me they do the same and I use them both but
which is preferable if any?