We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

hstmt error using RDO to call SQL from VB

gwilym
gwilym asked
on
Medium Priority
1,058 Views
Last Modified: 2008-02-01
When calling a SQl stored proc using RDO I get:

RunTime Error 40002
S1000: {Microsoft}{ODBC SQL Server Driver}  Connection is busy with results for another hstmt

I know what an hstmt is (roughly!) but not how to solve this.  I tried looping while rs.StillExecuting = True, and tested the other defined recordset in my routine from the command line, and neither where executing while the error came up.

Can you help???
Comment
Watch Question

Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
oops forgot one .)

see Q143032 in the KB too. (http://support.microsoft.com/kb/)

Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.