I want to initialise a New Dialog box with database information from the original form but am not finding it as straight forward as I thought. I have listed the code that the problem is related to:
void CMy19_02_03View::On_AMEND_RECORD()
{
Update_DLG d;
d.m_UPDT_Family_Name = m_Family_Name;
d.DoModal() ;
UpdateData(0);
}
Update_DLG is the new class for the new dialog box and m_Family Name is an edit box on the original form displaying a record from an MS ACCESS DB file. Any help will be most usefull.
void CMy19_02_03View::On_AMEND_RECORD()
{
Update_DLG d;
d.m_UPDT_Family_Name = m_Family_Name;
d.DoModal() ;
UpdateData(0);
}
Update_DLG is the new class for the new dialog box and m_Family Name is an edit box on the original form displaying a record from an MS ACCESS DB file. Any help will be most usefull.