Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004

    Unhappy Unanswered: Sybase API-Urgent (In VB)

    Does any body know how to keep cursor open after running query on Sybase through RDO in Visual Basic 6.0 using API as follow
    follwoing is usee for SQL can anybody suuggest me for Sybase

    Its urgent and pls let me know aspa

    Const SQL_PRESERVE_CURSORS As Long = 1204
    Const SQL_PC_ON As Long = 1
    Const SQL_PC_OFF As Long = 0

    Private Declare Function SQLSetConnectOption Lib "odbc32.dll" _
    (ByVal hdbc&, ByVal fOption%, ByVal vParam As Any) As Integer

    intRet = SQLSetConnectOption(cn.hdbc, SQL_PRESERVE_CURSORS, _

  2. #2
    Join Date
    Jun 2003

    Re: Sybase API-Urgent (In VB)

    I think the problem is to do with VB not Sybase,

    perheps u need to look at .update method , check this thread for more help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts