Office中国论坛/Access中国论坛

标题: [求助]有了select,adp无法捕获raiseerror错误 [打印本页]

作者: tz-chf    时间: 2005-12-16 19:17
标题: [求助]有了select,adp无法捕获raiseerror错误
ALTER PROCEDURE procDD

AS


select * from tblreturngoods where Verifies=0

raiserror('this returngoods is done.',16,1)
return

运行这个存储过程,看不到弹出的raiserror窗口,没有select却可以,所以我的adp无法捕获错误。

是不是raiserror参数的问题?
作者: tz-chf    时间: 2005-12-16 22:38
可能是返回了记录集的原因,那就避免用select吧。




欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) Powered by Discuz! X3.3