Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


Transfers floating-point data between the field data members of a CRecordset object and the columns of a record on the data source of ODBC type SQL_REAL.

void RFX_Single(
   CFieldExchange* pFX,
   const char* szName,
   float& value 


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.
The name of a data column.
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 float, 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.

See Also

MFC Macros and Globals | RFX_Text | RFX_Bool | RFX_Long | RFX_Int | RFX_Double | RFX_Date | RFX_Byte | RFX_Binary | RFX_LongBinary | CFieldExchange::SetFieldType

© 2015 Microsoft