Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default "Multiple-step operation generated errors"

Hi,

I am using ADO 2.5 in Excel XP to build a recordset from
the rows in my worksheet, then update a DB2 database with
the recordset's contents. This is something I've been
able to accomplish before in other workbooks, but not
this time.

When my code attempts to execute the ".update" method, I
receive the following error.

Error: -2147217887
Description: Multiple-step operation generated errors.
Check each status value.

This is a new one on me, and I have no idea where to
begin. Any ideas?

Thanks,
Michael
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Nevermind

FYI

Turns out I was trying to insert a record whose unique
key matched a record that already existed in the database
table.

-----Original Message-----
Hi,

I am using ADO 2.5 in Excel XP to build a recordset from
the rows in my worksheet, then update a DB2 database

with
the recordset's contents. This is something I've been
able to accomplish before in other workbooks, but not
this time.

When my code attempts to execute the ".update" method, I
receive the following error.

Error: -2147217887
Description: Multiple-step operation generated errors.
Check each status value.

This is a new one on me, and I have no idea where to
begin. Any ideas?

Thanks,
Michael
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 459
Default "Multiple-step operation generated errors"

The error is the generated in a variety of situations. I most often
see this when an amended recordset value is of the wrong data type for
the column e.g. trying to update a not null column with a null. As the
message says, check the values you are trying to update the database
with to ensure they are valid.

--

"Michael Daly" wrote in message ...
Hi,

I am using ADO 2.5 in Excel XP to build a recordset from
the rows in my worksheet, then update a DB2 database with
the recordset's contents. This is something I've been
able to accomplish before in other workbooks, but not
this time.

When my code attempts to execute the ".update" method, I
receive the following error.

Error: -2147217887
Description: Multiple-step operation generated errors.
Check each status value.

This is a new one on me, and I have no idea where to
begin. Any ideas?

Thanks,
Michael

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"num#" errors .. how to average a group with a "num#" error Byron Excel Discussion (Misc queries) 3 May 20th 09 04:32 AM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Adding values generated by "IF" Statement Terregles99 Excel Discussion (Misc queries) 3 July 24th 08 09:49 PM
"ignoring" hidden cells in a copy/paste operation gvm Excel Discussion (Misc queries) 2 March 22nd 07 10:38 PM
Odd error - "This operation requires merged cells..." Maury Markowitz New Users to Excel 3 September 14th 06 01:54 AM


All times are GMT +1. The time now is 09:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"