VB:ADODC.recordset.addnew添加记录为何出现‘91’错误

来源:百度知道 编辑:UC知道 时间:2024/09/28 14:33:03
Adodc1.Recordset.AddNew
If Text1.Text = "" Or Text2.Text = "" Then
MsgBox "qing shuru bumen he bumenbianhao!"
end If
Adodc1.Visible = True
Command2.Visible = False
Command4.Visible = False
Command6.Visible = False
Command7.Visible = False
Command8.Visible = False

注意:"Adodc1.Recordset.AddNew"报错

错误的描述贴出来看看
=============================
你的记录集访问错误,可能是连接字符串(SQL语句)有问题(那就重新检查一下)
也可能是Adodc1.Connection没有打开
要是这样就看看这里:http://zhidao.baidu.com/question/18493454.html?fr=qrl