SQL语句问题?
dacsd 2003-10-09 02:08:40 showmessage('查找:'+combobox1.text);
adoquery1.close;
adoquery1.sql.clear;
adoquery1.SQL.add('select * from gtdata');
adoquery1.sql.add('where jh='+'''+combobox1.text+''');
adoquery1.ExecSQL;
adoquery1.Active:=true;
dbgrid1.Visible:=true;
为何上述语句为何得到的记录集数空的,而showmessage('查找:'+combobox1.text);的值确实存在。请帮忙。
谢谢