Transfers multiple rows of TIMESTAMP_STRUCT data from a column of an ODBC data source to a corresponding array in a CRecordset-derived object.
void RFX_Date_Bulk( CFieldExchange* pFX, LPCTSTR szName, TIMESTAMP_STRUCT** prgTSVals, long** prgLengths );
The data source column can have an ODBC type of SQL_DATE, SQL_TIME, or SQL_TIMESTAMP. The recordset must define a field data member of type pointer to TIMESTAMP_STRUCT.
If you initialize prgTSVals and prgLengths to NULL, then the arrays they point to will be allocated automatically, with sizes equal to the rowset size.
Note
|
|---|
|
Bulk record field exchange only transfers data from the data source to the recordset object. To make your recordset updateable, you must use the ODBC API function SQLSetPos. |
For more information, see the articles Recordset: Fetching Records in Bulk (ODBC) and Record Field Exchange (RFX).
See RFX_Text_Bulk.
Header: afxdb.h
Note