MajP
You've got your good things, and you've got mine.
- Local time
- Today, 14:40
- Joined
- May 21, 2018
- Messages
- 9,483
I am running a loop in code that is generating values for inputs into a table. Based on the starting values, the code generates from 10s to maybe low thousands of records.
I can either open a recordset and do individual add new calls or I can generate the sql string in vba and execute. I guess I could also do a parameterized query def. Which is faster, and is this difference significant. I assume it may depend on how many records get inputted, in that there may be some initial overhead for opening the recordset which may be inconsequential for a bigger loop. Thanks.
I can either open a recordset and do individual add new calls or I can generate the sql string in vba and execute. I guess I could also do a parameterized query def. Which is faster, and is this difference significant. I assume it may depend on how many records get inputted, in that there may be some initial overhead for opening the recordset which may be inconsequential for a bigger loop. Thanks.