以下是删除按钮代码...rec要定义...dim rec as new recordsetIf rec.RecordCount < 1 ThenMsgBox ("未找到数据信息,请确认!"), vbOKOnly, "错误"Exit SubElseIf MsgBox("数据删除不可恢复,请确认!", vbYesNo) = vbYes Thenrec.Deleterec.MoveNextrec.RequeryEnd IfEnd If