Posted 14 November 2022, 8:25 am EST
Hi Kartik,
Thank you very much for your quick response. I really appreciate it.
Your sample has helped me a lot figuring out what my problem with automatic filtering was and I think, I might have stumbled over a small bug:
I set the NumberFormat property of the data column to “FormatText Event”. Looking into the automatically generated filter string it showed this:
CONVERT([kk_datum], System.String) LIKE '%or0aTex Even%'
which I consider as a bug.
After having set the NumberFormat to “Short Date” filtering worked like a charm:
([kk_datum] >= #04/04/2022# AND [kk_datum] < #04/05/2022#)
Initially I applied “FormatText Event” to the NumberFormat property because I wanted to translate certain dates into a different syntax. I realize now that I can achieve the same behaviour by using the column’s ValueItems collection instead.
Problem solved. Thanks very much,
Stephan