m_recordset.AddNew();//m_recordset为数据库继承record类变量    m_recordset.m_ID = atol(m_NewCityDLG.m_StrId);//对话框类变量
m_CtrId.UpdateData();//m_CtrId控件变量
    m_recordset.m_x_point =m_NewCityDLG.m_StrXpoint; //接收数据的edit控件cstring 型变量
    m_recordset.m_city_name = m_NewCityDLG.m_StrName;
    m_recordset.m_y_point = m_NewCityDLG.m_StrYpoint;


    m_recordset.Update();
    m_recordset.Close();
//city_table为我向其中添加数据的表,执行时出现一个错误
    由于required属性设为真, city_table.city_name不能为null值,在此字段输入一个值
但我已经项控件变量 中输入数据。这是什么原因??????
//我已经UPDATE控件