Lines Matching defs:columnIndex
424 void wxDbTable::setCbValueForColumn(int columnIndex)
426 switch(colDefs[columnIndex].DbDataType)
430 if (colDefs[columnIndex].Null)
431 colDefs[columnIndex].CbValue = SQL_NULL_DATA;
433 colDefs[columnIndex].CbValue = SQL_NTS;
436 if (colDefs[columnIndex].Null)
437 colDefs[columnIndex].CbValue = SQL_NULL_DATA;
439 colDefs[columnIndex].CbValue = 0;
442 if (colDefs[columnIndex].Null)
443 colDefs[columnIndex].CbValue = SQL_NULL_DATA;
445 colDefs[columnIndex].CbValue = 0;
448 if (colDefs[columnIndex].Null)
449 colDefs[columnIndex].CbValue = SQL_NULL_DATA;
451 colDefs[columnIndex].CbValue = 0;
454 if (colDefs[columnIndex].Null)
455 colDefs[columnIndex].CbValue = SQL_NULL_DATA;
457 if (colDefs[columnIndex].SqlCtype == SQL_C_WXCHAR)
458 colDefs[columnIndex].CbValue = SQL_NTS;
460 colDefs[columnIndex].CbValue = SQL_LEN_DATA_AT_EXEC(colDefs[columnIndex].SzDataObj);