adodc控件不支持delete语句,你可以用存储过程实现,假定access表里面有个存储过程delrs:
CREATE PROC delrs AS Delete From person Where name='cheng'
删除person表中name字段值='cheng'的记录,在VB中调用这个存储过程:
Private Sub Command1_Click()
Dim adoconn As New ADODB.Connection
Dim adorst As New ADODB.Recordset
Dim adocomm As New ADODB.Command
adoconn = Adodc1.ConnectionString
adoconn.Open
Set adocomm.ActiveConnection = adoconn
adocomm.CommandText = "delrs"
adocomm.CommandType = adCmdStoredProc
adocomm.Execute
End Sub