“添加”安扭代码的错误在哪
这是“添加”安扭的代码请大家看看错误在那,我实在找不出,谢谢各位!Private Sub Command1_Click()
Data1.UpdateRecord
If Data1.Recordset.RecordCount<>0 Than
Data1.Recordset.MoveLast
yy = Data1.Recordset.Fields("studentnum")
End If
Data1.Recordset.AddNew
Text1(1).Text = yy
Combo2.Text = "男"
Text1(5).Text = Date
Text1(6).Text = "汉族"