Hi
Using A2003 on XP
I am wondering from the MVP's and others, what is the most efficient way (in
terms of time to process) of updating data in a table, using the
docmd.RunSQL or Recordset 'Edit' and 'Update'?
eg: (if you need it)
1.--------------------------
mysql = "Update [mytable] SET [SomeField] = [somevalue];"
docmd.RunSQL mysql
2.-----------------------
set myrecordset = mydb.OpenRecord set([tablename / sql])
myrecordset.edi t
myrecodset.fiel ds("myfield") = [somevalue]
myrecordset.upd ate
TIA
Michelle
Using A2003 on XP
I am wondering from the MVP's and others, what is the most efficient way (in
terms of time to process) of updating data in a table, using the
docmd.RunSQL or Recordset 'Edit' and 'Update'?
eg: (if you need it)
1.--------------------------
mysql = "Update [mytable] SET [SomeField] = [somevalue];"
docmd.RunSQL mysql
2.-----------------------
set myrecordset = mydb.OpenRecord set([tablename / sql])
myrecordset.edi t
myrecodset.fiel ds("myfield") = [somevalue]
myrecordset.upd ate
TIA
Michelle
Comment