I have a large piece of code which is really slow and have been trying to determine which part of the code is not efficient.
To do this I placed loads of debug prints everywhere and found out that the rs.addnew piece of code takes about 9 seconds alone.
The table is a very large table but surely there must be a way of speeding this up?
Any suggestions very much appreciated.
Has anyone else had a similar sort of problem where rs take so long?
Cheers in advance.
Neemi
To do this I placed loads of debug prints everywhere and found out that the rs.addnew piece of code takes about 9 seconds alone.
The table is a very large table but surely there must be a way of speeding this up?
Code:
Set rs = CurrentDb.OpenRecordset("Client_Letters", dbOpenDynaset)
Debug.Print Now() & " rs start"
letrs.AddNew
Debug.Print Now() & " rs end"
Any suggestions very much appreciated.
Has anyone else had a similar sort of problem where rs take so long?
Cheers in advance.
Neemi