Okay, re-read the query and believe there is a gap with TLS1.2 support with your SQL server (your crystal report data source) and that could be the reason of the functionality break.
Look here at all the versions and details of SQL server that supports TLS1.2:
TLS 1.2 support for Microsoft SQL Server[
^]
Either you have unsupported version of SQL server or you have not yet updated to latest that supports it.