当adoquery1.sql.Text:='select * from numcount where hgnum=trim(edit1.text)';语句没有符合条件的记录时,程序就出错?why?
各位不是说没有符合条件的记录时反回O吗?怎样避免出错呢?请见http://expert.csdn.net/Expert/topic/2255/2255506.xml?temp=.8620264