Code:
If IsNull(Combo1.Value) And (([StartDate] <> " ") Or ([EndDate] <> " ")) And IsNull(Combo53.Value) Then
strSQL = strSQL & " " & "WHERE [Day_Month_Year] Between #" & [StartDate] & "# AND #" & [EndDate] & "#" & ";"
N.B: Above code is in vba
i would just like to know , how will i be able to pull the minimum and maximum dates if the user does not select any from the form.
also i am displaying the dates on the report , it works fine when i select a date .... but i am just puzzled by this MIN and MAX functionality.
i know its simple as i can't seem to find a proper solution that will help.
thanks again for the assistance