Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am getting a run time error 2147217887 1

Status
Not open for further replies.

Ngabay

MIS
May 16, 2003
25
US
When i try to insert from a form into a database. I keep on getting a multi step error. What does that mean?

 
note that my form is bound to ADO controls.


the error i get is:

Run Time Error" '-2147217887 (80040e21)'
Multi Step operation generated errors. check each status value

thanks
 
It may be because you are trying to add a foreign key value that does not exist in the foreign keys primary table.

But it could be something else. Post your insert statement and information about the tables involved.

I like to use debug.print to see exactly what my sql is and then copy that directly to the database (Query analyzer for SQL server) to see if it works. Sometimes their error handlers return better information than ADO's.

Thanks and Good Luck!

zemp
 
I usually get a 'multiple step' - error message when the datatype the database is expecting is not the same as the datatype I try to insert.
For example: "1-05-2003" as a string cannot be put into a date field, etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top