A
adriany
how do i filter using date()?
code below
Dim strFilterSQL As String
Select Case Me!optFilterBy
Case 1
strFilterSQL = strSQL & " Where [tdate] = date();"
Case 2
strFilterSQL = strSQL & " Where [tdate] = <date();"
Case 3
strFilterSQL = strSQL & " Where [tdate] = >date();"
Case Else
strFilterSQL = strSQL & ";"
End Select
todaydate, <todaydate
code below
Dim strFilterSQL As String
Select Case Me!optFilterBy
Case 1
strFilterSQL = strSQL & " Where [tdate] = date();"
Case 2
strFilterSQL = strSQL & " Where [tdate] = <date();"
Case 3
strFilterSQL = strSQL & " Where [tdate] = >date();"
Case Else
strFilterSQL = strSQL & ";"
End Select