git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4403
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-#ifndef FWD_ONLY_CURSORS
+#if wxODBC_FWD_ONLY_CURSORS
// Specify that the ODBC cursor library be used, if needed. This must be
// specified before the connection is made.
// Specify that the ODBC cursor library be used, if needed. This must be
// specified before the connection is made.
-#ifndef FWD_ONLY_CURSORS
+#if wxODBC_FWD_ONLY_CURSORS
+
// Fetch the NEXT, PREV, FIRST or LAST record, depending on fetchType
UDWORD cRowsFetched;
UWORD rowStatus;
// Fetch the NEXT, PREV, FIRST or LAST record, depending on fetchType
UDWORD cRowsFetched;
UWORD rowStatus;
else
return(pDb->DispAllErrors(henv, hdbc, hstmt));
#else
else
return(pDb->DispAllErrors(henv, hdbc, hstmt));
#else
- // Fetch the next record from the record set
+ // Fetch the next record from the record set
retcode = SQLFetch(hstmt);
if (retcode != SQL_SUCCESS && retcode != SQL_SUCCESS_WITH_INFO)
{
retcode = SQLFetch(hstmt);
if (retcode != SQL_SUCCESS && retcode != SQL_SUCCESS_WITH_INFO)
{