RFX_Byte
Transfers single bytes between the field data members of a CRecordset object and the columns of a record on the data source of ODBC type SQL_TINYINT.
void RFX_Byte(
CFieldExchange* pFX,
const char* szName,
BYTE& value
);
Параметры
pFX
A pointer to an object of class CFieldExchange. This object contains information to define the context for each call of the function. For more information about the operations a CFieldExchange object can specify, see the article Record Field Exchange: How RFX Works.szName
The name of a data column.value
The value stored in the indicated data member — the value to be transferred. For a transfer from recordset to data source, the value, of type BYTE, is taken from the specified data member. For a transfer from data source to recordset, the value is stored in the specified data member.
Пример
See RFX_Text.
Требования
Header: afxdb.h