在程序运行时,经常因为程序员考虑不全面,而导致一些错误,但程序员却在设计期没有发现,例如:
在没有选中记录的时候却点击删除,会出现以下错误提示,,
projict projict2.exe raised exception class edatabaseerrow with message'adoquery1:cannot perform this operation on an empty dataset'.processstoped.use step or run to contiune.
ok help
储如此类错误如何避免,只要能使程序在运行过程中不会因为设计期的疏忽而中止跳出就行,大家一起探讨一下?
在没有选中记录的时候却点击删除,会出现以下错误提示,,
projict projict2.exe raised exception class edatabaseerrow with message'adoquery1:cannot perform this operation on an empty dataset'.processstoped.use step or run to contiune.
ok help
储如此类错误如何避免,只要能使程序在运行过程中不会因为设计期的疏忽而中止跳出就行,大家一起探讨一下?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货