M
meyerryang
How do I speed up this recordset (for time stamp). I am adding a new record
and it is taking a long time - before the records were added it was pretty
fast. As more and more users use the system and create time stamps the
system is slowing down dramatically. The underlying table that the record is
added to is a server table. I would like it to open a "new record" and then
add a record (not just opening the table). Code is provided, please help:
Dim rs as DAO.Recordset
Set rs = CurrentDb.OpenRecordset("MyTable", dbOpenDynaset)
rs.AddNew
rs!MyField = now()
rs.update
rs.close: set rs = Nothing
and it is taking a long time - before the records were added it was pretty
fast. As more and more users use the system and create time stamps the
system is slowing down dramatically. The underlying table that the record is
added to is a server table. I would like it to open a "new record" and then
add a record (not just opening the table). Code is provided, please help:
Dim rs as DAO.Recordset
Set rs = CurrentDb.OpenRecordset("MyTable", dbOpenDynaset)
rs.AddNew
rs!MyField = now()
rs.update
rs.close: set rs = Nothing