Thanks for your reply.
Quote:
The first parameter to cmd.execute is RecordsAffected. |
You must not have submitted SET NOCOUNT ON, to get the count.
<<
May I ask how I go about retrieving the Count of records affected back
into MS Access?
Dim CountRecsAffected As Long
...
cmd.Parameters("@bDate").Value = sDate
cmd.Execute
CountRecsAffected = cmd.?
or
CountRecsAffected = ?
or
CountRecsAffected = cmd.Parameters.Count? Wouldn't this one just give me
the count of parameters being used?
Thanks again for your reply.
Rich
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!