Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:[求助]

1楼
tungwun 发表于:2012/2/10 21:21:00
Dim Filter As String
With e.Form.Controls("cmbProduct")
    If .Value IsNot Nothing Then
        Filter = "車牌 = '" & .Value & "'"
    End If
End With
With e.Form.Controls("cmbCustomer")
    If .Value IsNot Nothing Then
        If Filter > "" Then
            Filter = Filter & " And "
        End If 
        Filter = Filter & "打理人= '" & .Value & "'"
    End If
End With
With e.Form.Controls("cmbEmployee")
    If .Value IsNot Nothing Then
        If Filter >"" Then
            Filter = Filter & " And "
        End If 
        Filter = Filter & "編碼= '" & .Value & "'"
    End If
End With
If Filter > "" Then
   Tables("車輛打理").Filter = filter & " And 結束日期時間Is Null"
End If

 请问已上代码在查询筛选出没有输入结束日期的资料 如何在当中加入当月有结束日期时间查询?

筛选出全表没有输入结束日期资料及加入当月有结束日期时间资料

2楼
czy 发表于:2012/2/10 21:32:00

 

 

Tables("車輛打理").Filter = filter & " And 結束日期時間 Is Not Null"

3楼
tungwun 发表于:2012/2/10 23:50:00
如何在當中加入當月有結束日期時間查詢?
共3 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .03125 s, 2 queries.