| 发表于:2007-05-16 07:14:58 楼主 |
private sub command1_click(index as integer) select case index case 0 on error goto err1 adodc1.recordset.updatebatch adaffectall case 1 on error goto err1 adodc1.refresh case 2 aa = inputbox( "查找附件编号: ", "* ") if aa <> "* " then adodc1.recordset.movefirst adodc1.recordset.find "附件编号 like ' " & aa & "* ' " end if end select exit sub err1: msgbox err.description end sub 给车间做的一个数据库管理软件, 这个是修改模块中按键的代码, 在运行到:adodc1.recordset.movefirst 这里的时候提示错误91, with变量什么的。 请高手帮忙看看问题出在哪里?谢谢!! |
|
|
|
|