Jul 18, 2006 #1 keenanbr Programmer Oct 3, 2001 469 IE I'm converting a vb prog whicj uses RDO to ADO. How do i get the rows affectedby an update command. Public g_dbConn As ADODB.Connection ... ... ... ... g_dbConn.Execute("UPDATE xxx SET .....") Thanks in advance,
I'm converting a vb prog whicj uses RDO to ADO. How do i get the rows affectedby an update command. Public g_dbConn As ADODB.Connection ... ... ... ... g_dbConn.Execute("UPDATE xxx SET .....") Thanks in advance,
Jul 18, 2006 #2 ZmrAbdulla Technical User Apr 22, 2003 4,364 AE There is an example in the MS Access VBA help file headed "RecordsAffected Property Example" ________________________________________________________ Zameer Abdulla Help to find Missing people Sharp acids corrode their own containers. Upvote 0 Downvote
There is an example in the MS Access VBA help file headed "RecordsAffected Property Example" ________________________________________________________ Zameer Abdulla Help to find Missing people Sharp acids corrode their own containers.
Jul 18, 2006 Thread starter #3 keenanbr Programmer Oct 3, 2001 469 IE in case anyone's interested what I did was Dim recsaffected as int g_dbConn.Execute("UPDATE xxx SET .....", recsaffected) msgbox(recsaffected & " Records updated") Upvote 0 Downvote
in case anyone's interested what I did was Dim recsaffected as int g_dbConn.Execute("UPDATE xxx SET .....", recsaffected) msgbox(recsaffected & " Records updated")