~~~~~~~~~~~~~
nr:string;
begin
xm:=Combobox3.Text ;
nr:=edit1.Text;
case Combobox3.ItemIndex of
0,1,2,3,4,5,6,7,8:
begin
sql:='select * from sheb where '+xm+' like '+QuotedStr(nr)+'';
~~~~~~~~~~请问下怎么才能实现模糊查询,这个方法like和=似乎没有区别!!
谢谢
nr:string;
begin
xm:=Combobox3.Text ;
nr:=edit1.Text;
case Combobox3.ItemIndex of
0,1,2,3,4,5,6,7,8:
begin
sql:='select * from sheb where '+xm+' like '+QuotedStr(nr)+'';
~~~~~~~~~~请问下怎么才能实现模糊查询,这个方法like和=似乎没有区别!!
谢谢
解决方案 »
- Delphi UDP协议编程
- 刚学delphi关于Tlistbox组件的问题.本论坛已搜索过没有找到答案
- 数据录入问题
- 初学者的问题,如何将integer转换为string类型的hex?
- 怎样在鼠标右键或IE工具菜单下增加一点点菜单上去?
- 关于赋值问题(急)
- 透明控件制作问题
- (紧急)Idhttp 无法正确解释302的http数据包,如何解决?
- 交友启示:对MTS/COM+感兴趣,熟悉Delphi的朋友,让咱们携起手来共同进步吧!
- (不好意思)怎样保证主程序退出时线程一定已关闭?
- delphi中关于标签页(PageControl)中根据数据条数新增同样标签页窗口的问题!
- delphi中关于标签页中根据数据条数新增同样窗口的问题!
select * from sheb where xm like 'aa%'
因为用了一个参数,还想请教一下具体的格式。