Export (0) Print
Expand All

Dialog Data Exchange Functions for CRecordView and CDaoRecordView

This topic lists the DDX_Field functions used to exchange data between a CRecordset and a CRecordView form or a CDaoRecordset and a CDaoRecordView form.

Note Note

DDX_Field functions are like DDX functions in that they exchange data with controls in a form. But unlike DDX, they exchange data with the fields of the view's associated recordset object rather than with fields of the record view itself. For more information, see classes CRecordView and CDaoRecordView.

DDX_Field Functions

DDX_FieldCBIndex

Transfers integer data between a recordset field data member and the index of the current selection in a combo box in a CRecordView or CDaoRecordView.

DDX_FieldCBString

Transfers CString data between a recordset field data member and the edit control of a combo box in a CRecordView or CDaoRecordView. When moving data from the recordset to the control, this function selects the item in the combo box that begins with the characters in the specified string.

DDX_FieldCBStringExact

Transfers CString data between a recordset field data member and the edit control of a combo box in a CRecordView or CDaoRecordView. When moving data from the recordset to the control, this function selects the item in the combo box that exactly matches the specified string.

DDX_FieldCheck

Transfers Boolean data between a recordset field data member and a check box in a CRecordView or CDaoRecordView.

DDX_FieldLBIndex

Transfers integer data between a recordset field data member and the index of the current selection in a list box in a CRecordView or CDaoRecordView.

DDX_FieldLBString

Manages the transfer of CString data between a list-box control and the field data members of a recordset. When moving data from the recordset to the control, this function selects the item in the list box that begins with the characters in the specified string.

DDX_FieldLBStringExact

Manages the transfer of CString data between a list-box control and the field data members of a recordset. When moving data from the recordset to the control, this function selects the first item that exactly matches the specified string.

DDX_FieldRadio

Transfers integer data between a recordset field data member and a group of radio buttons in a CRecordView or CDaoRecordView.

DDX_FieldScroll

Sets or gets the scroll position of a scroll bar control in a CRecordView or CDaoRecordView. Call from your DoFieldExchange function.

DDX_FieldText

Overloaded versions are available for transferring int, UINT, long, DWORD, CString, float, double, short, COleDateTime, and COleCurrency data between a recordset field data member and an edit box in a CRecordView or CDaoRecordView.

Community Additions

ADD
Show:
© 2014 Microsoft