Hello everybody,
I have in my form (from a query) two unbound fields named "StartDatetxt" and "EndDatetxt" and I want to filter all the records that are between such dates, but this is not working as if. Basically it's filtering all the database showing any record, example 01/12/2021 until 06/12/2021 and it's not showing any record despite I have records between this dates, however something weird happens when I make this time window wider like 01/12/2021 until 31/12/2021 it shows all this records
I hope anyone find something that I would be missing
I highly appreciate support!!
My code is this one
'If Me.StartDatetxt <> "" And Me.EndDatetxt <> "" Then
'Me.Requery
'Me.Filter = "Fecha_Apertura >= #" & StartDatetxt & "# And Fecha_Apertura <= #" & EndDatetxt & "#"
'Me.FilterOn = True
'End If
Thanks!!!