Re: BatchUpdate problem with Vista SP1 and XP SP3
- From: Damir Arh <DamirArh@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 9 May 2021 08:37:01 -0700
No, doesn't help either.
"Bob Barrows [MVP]" wrote:
How about trying with the constant value instead of the name?.
Call rs.UpdateBatch(4)
Damir Arh wrote:
I tried the same sample with adAffectAll but the problem persists.
"Bob Barrows [MVP]" wrote:
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.
--
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: