我怀疑是我没定义的记录集的问题??
Option Explicit
Dim rcdset '窗体级变量,存放ADO控件的当前记录
Dim i As Integer
把(Dim rcdset)换成dim rcdset as new Recordset
或者:
Set rcdset = Adodc1.Recordset
rcdset.movefirst
rcdset!截止日期 = DateAdd("m", 1, rcdset!截止日期) '更新借阅记录中截止日期字段
rcdset.update
Adodc1.Refresh
说了这么多
还不知道你那运行到哪就出那错误了~~~