You are not doing what I said. And you are adding stuff.
I am looking at an Or which of course is going to give you that because the whole point is to not use that.
If you want to NOT use the date if its not selected, don't add it there, add it above and separate
I am so confused.. why you are adding datevalue to each side now.
Anyway its drastically different. You cannot add a DateValue to a column and not have the warning. Because you cannot pass DateValue to the server, it has to be done on the client.
But you cannot do that because you said you have more than 2000 records. So you have to change how you are doing it all.
So changing it to what I said didn't get rid of the warning because you are creating a whole other warning.
Also, you can do a DateValue and format it to not have the time.
But if you are just comparing the Date (like today),
Why are you converting to Dates at all if you store it as a string, just do a string comparison.