Lines Matching refs:hstmtCount
145 hstmtCount = 0; // Initialized first time it is needed
412 if (hstmtCount)
413 DeleteCursor(hstmtCount);
848 * Do NOT bind the hstmtCount cursor!!!
2499 if (!hstmtCount)
2501 hstmtCount = GetNewCursor(false,false);
2502 wxASSERT(hstmtCount);
2503 if (!hstmtCount)
2508 if (SQLExecDirect(*hstmtCount, (SQLTCHAR FAR *) sqlStmt.c_str(), SQL_NTS) != SQL_SUCCESS)
2510 pDb->DispAllErrors(henv, hdbc, *hstmtCount);
2515 if (SQLFetch(*hstmtCount) != SQL_SUCCESS)
2517 pDb->DispAllErrors(henv, hdbc, *hstmtCount);
2522 if (SQLGetData(*hstmtCount, (UWORD)1, SQL_C_ULONG, &count, sizeof(count), &cb) != SQL_SUCCESS)
2524 pDb->DispAllErrors(henv, hdbc, *hstmtCount);
2529 if (SQLFreeStmt(*hstmtCount, SQL_CLOSE) != SQL_SUCCESS)
2530 pDb->DispAllErrors(henv, hdbc, *hstmtCount);