以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  查询时间变量  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=47964)

--  作者:1211zhu
--  发布时间:2014/3/20 14:16:00
--  查询时间变量
Dim djbh As WinForm.TextBox = e.Form.Controls("单据编号")
Dim wldw As WinForm.TextBox = e.Form.Controls("往来单位")
Dim rq As WinForm.DateTimePicker = e.Form.Controls("日期")
Tables("T_sales").Filter="djbh like \'*" & djbh.Text & "*\' and wldw like \'*" & wldw.Text & "*\' and rq > \'" & rq.Value & "\' "
 
查询条件中的日期控件,日期动态变量怎么写

--  作者:lsy
--  发布时间:2014/3/20 14:22:00
--  
楼主还没弄懂查询条件表达式,把例子发上来,让别人帮你写一个,再照着学。
--  作者:狐狸爸爸
--  发布时间:2014/3/20 17:31:00
--  

看看这个:

http://www.foxtable.com/help/topics/1058.htm