以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 如何 加上 order by (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=11800) |
-- 作者:yacity -- 发布时间:2011/8/12 9:42:00 -- 如何 加上 order by 代码如下
Dim txt As String = e.Form.Controls("TextBox1").Text
如何 加上 order by pfullname desc,standard desc,unit1 desc 最好是 所有的tbl.filter 都加上 order by pfullname desc,standard desc,unit1 desc
我加上 order by 后 错误如下:
Dim txt As String = e.Form.Controls("TextBox1").Text
![]() ![]() [此贴子已经被作者于2011-8-12 9:46:16编辑过]
|
-- 作者:狐狸爸爸 -- 发布时间:2011/8/12 9:47:00 -- tbl.filter = "(pfullname Like " & txt & " Or Standard Like " & txt & " Or Unit1 Like " & txt & ") and (leveal=2 and deleted=0 and isstop=0 ) "
参考: http://www.foxtable.com/help/topics/0451.htm
|