Re: BatchUpdate problem with Vista SP1 and XP SP3
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Fri, 9 May 2021 08:35:13 -0400
Damir Arh wrote:
Since the installation of Service Pack 1 for Windows Vista and<snip of excellent repro code>
Service Pack 3 for Windows XP, a piece of code is failing which has
always worked without problems before. We've managed to isolate the
problem and reproduce it in a small sample.
Call rs.UpdateBatch(adAffectAllChapters) ' <- fails hereUnfortunately (for you) i don't have a machine with Vista on it so I
Set rs.ActiveConnection = Nothing
Call cn.Close
The code fails in the marked line with the error:
Multiple-step OLE DB operation generated errors. Check each OLE DB
status value, if available. No work was done.
will be unable to reproduce your problem.
I'm a little puzzled by your use of adAffectAllChapters. What happens if
you use adAffectAll?
I am going to run this puzzler by my fellow MVPs to see if they have any
insight.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
.
- Follow-Ups:
- Re: BatchUpdate problem with Vista SP1 and XP SP3
- From: Damir Arh
- Re: BatchUpdate problem with Vista SP1 and XP SP3
- References: