A
Alfonso Edgardo
Why does this code give a data type mismatch right before
the report runs, is there a problem with setting years in
this manner? Any other potential solutions?
CmbReportYear is set to either "2004" or "2005".
If Not IsNull(Me.CmbReportYear) And CmbReportYear.Value
<> "All" Then
strWhere = strWhere & strLink & "[Activity Date]="""
& "Between #01/01/" & CmbReportYear & "#" & " " & "and"
& " " & "#12/31/" & CmbReportYear & "#" & """"
Thanks!
the report runs, is there a problem with setting years in
this manner? Any other potential solutions?
CmbReportYear is set to either "2004" or "2005".
If Not IsNull(Me.CmbReportYear) And CmbReportYear.Value
<> "All" Then
strWhere = strWhere & strLink & "[Activity Date]="""
& "Between #01/01/" & CmbReportYear & "#" & " " & "and"
& " " & "#12/31/" & CmbReportYear & "#" & """"
Thanks!