Hey quick question,
I have a date column and have the following code which works perfectly but i can imagine a user asking just to simply search a year rather than a full date
was wondering if theres any way of chaning the input to text and having a >= or <= LIKE something?
Cheers
Tim
I have a date column and have the following code which works perfectly but i can imagine a user asking just to simply search a year rather than a full date
Code:
' Check for min date
If Me.txtdatemin > "" Then
varWhere = varWhere & "[DateRun] >= #"& Me.txtdatemin & "# And "
End If
' Check for max date
If Me.txtdatemax > "" Then
varWhere = varWhere & "[DateRun] <= #"& Me.txtdatemax & "# And "
End If
was wondering if theres any way of chaning the input to text and having a >= or <= LIKE something?
Cheers
Tim