W
wqhatnet
Unregistered / Unconfirmed
GUEST, unregistred user!
const eKeyVol = 9729 ;<br>begin<br>////////////////<br> if(E is EDBEngineError) then<br> if(E as EDBEngineError).Errors[0].ErrorCode = eKeyVol then<br> begin<br> Application.MessageBox('客户已存在!', '', MB_OK+MB_ICONINFORMATION);<br> query1.Cancel;<br> abort;<br> end;<br>////////////////<br><br>这个段代码在SQLSERVER中为什么不行?<br>行的代码谁有?