Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 13th, 2005, 12:57 AM
Ianice Berg
Guest
 
Posts: n/a
Default The truth about SQLFetchScroll() and the cursor library? (ODBC / MS Access 4)

What should I be doing to get SQLFetchScroll() working (at all) with
MS Access?

When I specify SQL_CUR_USE_IF_NEEDED then attempting to set
SQL_SCROLLABLE results in an "optional feature not implemented" error.

rc = SQLSetConnectAttr(hdbc, SQL_ATTR_ODBC_CURSORS,
SQL_CUR_USE_IF_NEEDED,
0);
// *** This fails *** //
rc = SQLSetStmtAttr(hstmt, SQL_ATTR_CURSOR_SCROLLABLE,
SQL_SCROLLABLE, 0);

When I specify SQL_CUR_USE_ODBC then attempting to set SQL_SCROLLABLE
succeeds - but I dont want to use the cursor library unconditionally
'cos some installations do native scrolling.
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles