• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 426
  • Last Modified:

Microsoft documentation (SQLPrepare - ODBC - "invalid cursor state")

Hi experts,

If you look online at the documentation for SQLPrepare under the error for "invalid cursor state", you'll see this explanation:

"(DM) A cursor was open on the StatementHandle, and SQLFetch or SQLFetchScroll had been called.
A cursor was open on the StatementHandle, but SQLFetch or SQLFetchScroll had not been called."

It sounds as if you're screwed either way...

Can anyone please tell me what that's supposed to mean??

Thanks!
Mike
0
mikexpert
Asked:
mikexpert
1 Solution
 
Anthony PerkinsCommented:
The part you may have skipped is:
the notation "(DM)" precedes the descriptions of SQLSTATEs returned by the Driver Manager.

In any case, why don't you tell us what is the real problem, as we could discuss all day the vagaries of MS documentation?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now