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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADODB 2.8 behaves strange while stored procedure call(URGENT)

Status
Not open for further replies.

spaliwal

Programmer
Dec 28, 2001
31
0
0
IN
Hi Gurus,

ADODB 2.8
SQL server 2000

We are calling sql server 2000 stored procedure from ADODB 2.8 command object, while using print command in sp its setting the command object's state as completed but stored procedure is still executing, we are using "AdStateExecuting" constant for checking command state , as in given below command segment -

while objCommand.State = adStateExecuting
DoEvents
wend

Our observation is while using cursors in sp body and print statement is fired in cursor body it gives above problem.
It will be great if anybody can suggest a solution for this problem , any alternet way or workaroud.

Thanks,

Sheilesh


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top