I have a Crystal Report that expects 2 dates as parameters.
When I run a trace on the db using an extended event I can see what query the Crystal Repost is executing:exec "VMS"."dbo"."reporting_price_and_purchasing_headerinfo_v2";1 9, 1, N'1-1-2020', N'29-8-2024'
The problem seems to be in the formatting of the date which is dd-mm-yyyy while the SP expects a DATE which is yyyy-mm-dd
When I run the CR report manually and enter 2020-01-01 and 2024-08-28 as dates the trace shows:EXEC "VMS"."dbo"."reporting_price_and_purchasing_headerinfo_v2";1 9, 1, N'2020-01-01', N'2024-08-29'
And the report shows the correct data.
But how can I force the date picker in my Thinkwise application to output the selected date as yyyy-mm-dd rather than the more human readable (on this side of the big Atlantic puddle) dd-mm-yyyy?
This question is related to my previous topic but the focus shifted from debugging to fixing a specific issue.