the problem is solved i need to write before using the CEdit(m_edit) var
*******************
UpdateData(TRUE);
m_edit.Clear;
********************
and not UpdateData(FALSE); after