标题:查询语句错在那?
取消只看楼主
shunlai
Rank: 1
等 级:新手上路
威 望:1
帖 子:228
专家分:0
注 册:2006-2-1
结帖率:94.12%
 问题点数:0 回复次数:1 
查询语句错在那?
查询语句错在那?

各位高人:你们好!
请帮忙看看我的查询语句错在那了?谢谢!
sql = "select * from 表1 where ph like '%" & Trim(Combo1.Text) & "%' and " & "(rg>=#" & Trim(Text4.Text) & "#) and (rg<#" & Trim(Text5.Text) & "#)" & " and rq between #" & DTPicker1.Value & "# and #" & DTPicker2.Value & "# order by rq desc"

[此贴子已经被作者于2007-11-17 13:19:20编辑过]

搜索更多相关主题的帖子: 语句 查询 
2007-11-17 12:57
shunlai
Rank: 1
等 级:新手上路
威 望:1
帖 子:228
专家分:0
注 册:2006-2-1
得分:0 
用了结果是:
2007-11-17 13:16



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-186704-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.815949 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved