你的LIKE 语句后为什么没有缺省符呀?例如:%?你看一下你的结果集,是不是一第记录也没有啊。是你的WHERE子句有问题。
试试我的SQL语句。
"Select * from xcjxb where xcjb.bt like '%" & val(txt1.text) & "'"
"Select * from xcjxb where xcjb.bt like '" & val(txt1.text) & "%'"
试试我的SQL语句。
"Select * from xcjxb where xcjb.bt like '%" & val(txt1.text) & "'"
"Select * from xcjxb where xcjb.bt like '" & val(txt1.text) & "%'"
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货