Re: SQLSetPos returning HY106 "Fetch type out of range"??
- From: Richard Marsden <noreply@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 26 Oct 2005 07:19:48 -0500
Dmitriy Ivanov wrote:
Hello Richard, "Richard Marsden" <noreply@xxxxxxxxxxxxxxxxxx> wrote:
RM> Further to this, I've checked the cursor type: it is static. RM> |...snip...|
Are you sure that static cursors are intended for updating? I would recommend to try key-set driven or dynamic ones.
Thanks for the reply Dmitriy. I'm still pretty new to low level ODBC so it could well be something simple like this.
The bit flags (from SQLGetInfo) say that the database supports updates and deletes from static cursors. I have the corresponding dynamic cursor bit flags, and they're all zero! Ie. no support for anything.
I'll see what the keyset ones are set to...
Richard -- Richard Marsden Winwaed Software Technology, http://www.winwaed.com http://www.mapping-tools.com for MapPoint tools and add-ins .
- References:
- SQLSetPos returning HY106 "Fetch type out of range"??
- From: Richard Marsden
- Re: SQLSetPos returning HY106 "Fetch type out of range"??
- From: Richard Marsden
- Re: SQLSetPos returning HY106 "Fetch type out of range"??
- From: Dmitriy Ivanov
- SQLSetPos returning HY106 "Fetch type out of range"??
- Prev by Date: Re: SQLSetPos returning HY106 "Fetch type out of range"??
- Next by Date: Re: SQLSetPos returning HY106 "Fetch type out of range"??
- Previous by thread: Re: SQLSetPos returning HY106 "Fetch type out of range"??
- Next by thread: Re: SQLSetPos returning HY106 "Fetch type out of range"??
- Index(es):
Relevant Pages
|