H HAZL Unregistered / Unconfirmed GUEST, unregistred user! 2000-07-05 #1 如何捕获sqlserver传回来的错误消息。并处理.如:主索引不唯一
O only you Unregistered / Unconfirmed GUEST, unregistred user! 2000-07-05 #2 捕获错误,具体的错误码需要查书。 begin . . try except on E://此处写错误名称 do begin 错误处理 end; end; . . end;
J jqw Unregistered / Unconfirmed GUEST, unregistred user! 2000-07-07 #3 application.onexception 我记不太清了
F fstao Unregistered / Unconfirmed GUEST, unregistred user! 2000-07-08 #4 在Ttable或Tquery的UpdateError事件为: if (E is EDBEngineError) then if (E as EDBEngineError).Errors[0].Errorcode=9729 then begin messagedlg('编号重复,请重新输入!',mtinformation,[mbyes],0); abort; end;
在Ttable或Tquery的UpdateError事件为: if (E is EDBEngineError) then if (E as EDBEngineError).Errors[0].Errorcode=9729 then begin messagedlg('编号重复,请重新输入!',mtinformation,[mbyes],0); abort; end;