If you encounter errors in the programming process as follows:
Multi-Step OLE DB operation generated an error. If possible, check each OLE DB status value
Then you can think about it:
1, the reason is probably you "select * from ..." This sentence, if you have a database of this table in a lot of words may produce OLE DB error, you may want to call the data from the database in the "select field from ..." is not used to the field is best not to put in.
2, the generated fields and the database corresponding to the length of the field does not match the reason. This error may be, for example, if you insert data into the ID field of a table that has a length of 8 digits in the table, and your number is 300, then this may be a mistake.
I hope it will help you.
Beyond C + + original articles, reproduced please indicate the source and retain the original link
This article link: http://www.beyondc.cn/multiple-step-ole-db-operation-generated-errors.html