How to solve the following error when calling the stored procedure with the ADO?

zhaozj2021-02-08  186

When I use ADO to call a stored procedure in Sybase Ataptive Anywhere in the VC, the ADO call refers to the MSDN and some samples collected from the Internet, but always execute if (!@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ade In one sentence, the system error: ---------------------------------- Code = 800a0e78 meaning = unknown error 0x800a0e78 Source = adodb.recordset Desc = Object When the object is closed, the operation is not allowed --------------------------------------------------------------------------------------------------------------------------------

What is the reason? My code is the same as the sample. Starting my attention is concentrated on the side of the VC program, I think it is a problem with the program of VC. Later, I finally thought that it would be caused by my stored procedure, one check suddenly found that the stored procedure was return after insert Of course, there is no result set, it is the original segmentation of the storing process, I didn't see it.

Summary: Solve the problem cannot be drilled with the horn, one direction does not have a short-on-shaped, and you should feel absolutely correct from another one. Maybe the problem is on this.

转载请注明原文地址:https://www.9cbs.com/read-2563.html

New Post(0)