5 messages in com.mysql.lists.win32ODBC and MySql
FromSent OnAttachments
Torleif Grasto24 Oct 2001 01:57 
Venu24 Oct 2001 08:36 
T'olar O. J'harn24 Oct 2001 15:04 
Dennis Salguero24 Oct 2001 15:29 
Torleif Grasto25 Oct 2001 01:51 
Subject:ODBC and MySql
From:Torleif Grasto (Torl@datarespons.no)
Date:10/24/2001 01:57:57 AM
List:com.mysql.lists.win32

Hi,

I have a problem using VC++ and myODBC. When I'm trying to update a record I receive the ODBC exception :

No cursor name available State:S1015,Native:0,Origin:[TCX][MyODBC]

I'm running mySQL 3.23.43 and myODBC 2.50.39-nt.

When tracing into the MFC library, the exception arises after a call to SQLGetCursorName(..) in the MFC file DBCORE.CPP

SWORD nLength = _countof(szCursorName)-1; AFX_SQL_SYNC(::SQLGetCursorName(m_hstmt, szCursorName, _countof(szCursorName), &nLength)); if (!Check(nRetCode)) ThrowDBException(nRetCode);