With Tables("冷轧日报") Tables("冷轧日报").Current.Locked = False If.Current IsNot Nothing Then .Current.Save() End If If .Current Is Nothing OrElse .Current.DataRow.RowState = DataRowState.Unchanged Then \'如果当前行未曾修改 Tables("冷轧日报").AddNew() End If End With
此主题相关图片如下:3.jpg
-- 作者:有点蓝
-- 发布时间:2021/6/17 16:45:00
-- With Tables("冷轧日报") Tables("冷轧日报").Current.Locked = False If.Current IsNot Nothing Then .Current.Save() End If