M
Mike Saifie
I get error when I run this code to search inbetween the dates. Any advsie
pl.
' If Opened Date From
'If IsDate(Me.OpenedDateFrom) Then
' Add it to the predicate - exact
' strWhere = strWhere & " AND " & "[Issues.Opened Date] >= " &
GetDateFilter(Me.OpenedDateFrom)
' ElseIf Nz(Me.OpenedDateFrom) <> "" Then
' strError = cInvalidDateError
'End If
' If Opened Date To
'If IsDate(Me.OpenedDateTo) Then
' Add it to the predicate - exact
' strWhere = strWhere & " AND " & "Issues.[Opened Date] <= " &
GetDateFilter(Me.OpenedDateTo)
' ElseIf Nz(Me.OpenedDateTo) <> "" Then
'strError = cInvalidDateError
' End If
this is where it highlits when I click on debug
Me.Browse_All_Issues.Form.Filter = strWhere
pl.
' If Opened Date From
'If IsDate(Me.OpenedDateFrom) Then
' Add it to the predicate - exact
' strWhere = strWhere & " AND " & "[Issues.Opened Date] >= " &
GetDateFilter(Me.OpenedDateFrom)
' ElseIf Nz(Me.OpenedDateFrom) <> "" Then
' strError = cInvalidDateError
'End If
' If Opened Date To
'If IsDate(Me.OpenedDateTo) Then
' Add it to the predicate - exact
' strWhere = strWhere & " AND " & "Issues.[Opened Date] <= " &
GetDateFilter(Me.OpenedDateTo)
' ElseIf Nz(Me.OpenedDateTo) <> "" Then
'strError = cInvalidDateError
' End If
this is where it highlits when I click on debug
Me.Browse_All_Issues.Form.Filter = strWhere