/ ODBC Bind Parameter function. */ /
| 392 | /* ODBC Bind Parameter function. */ |
| 393 | /***********************************************************************/ |
| 394 | bool TDBODBC::BindParameters(PGLOBAL g) |
| 395 | { |
| 396 | PODBCCOL colp; |
| 397 | |
| 398 | for (colp = (PODBCCOL)Columns; colp; colp = (PODBCCOL)colp->Next) { |
| 399 | colp->AllocateBuffers(g, 0); |
| 400 | |
| 401 | if (Ocp->BindParam(colp)) |
| 402 | return true; |
| 403 | |
| 404 | } // endfor colp |
| 405 | |
| 406 | return false; |
| 407 | } // end of BindParameters |
| 408 | |
| 409 | #if 0 |
| 410 | /***********************************************************************/ |
nothing calls this directly
no test coverage detected