Article ID: 132396
Article Last Modified on 12/9/2003
void CMyRecordView::DoDataExchange(CDataExchange* pDX)
{
...
//{{AFX_DATA_MAP(CMyRecordView)
DDX_FieldCBIndex(pDX, IDC_COMBO1, m_pSet->m_id, m_pSet);
//}}AFX_DATA_MAP
}
When compiling the program, the compiler gives you the following compiler
error:
RFX DDX
Data Record Dynamic
Source <---- Field ---> record <--- Data ---> controls
record Exchange view Exchange
set
For record view data members that have a corresponding database field, the
DDX_Fieldxxx set of functions are used to perform DDX. For those members
without corresponding database fields, the DDX_xxx set of functions are
used. For every DDX_xxx function, there is typically a corresponding
DDX_Fieldxxx function.
ClassWizard: Mapping Form Controls to Recordset Fields
ClassWizard: Foreign Objects
Additional query words: 1.50 1.51 1.52 2.00 2.10 2.20
Keywords: kbbug kbfix kbnoupdate kbvc400fix kbdatabase kbwizard KB132396