Question

I'm trying to fire off an RDL via KRONOS application. The problem I'm running into is passing the variables in the same format. I have a query that is selecting a date field that is formatted (DateTime,NULL).

It looks like the variables are being passed as: AND inp.WK_END>= '2014 02 01 00 00 00' (this is a parameter: @to_timeframe)

              SQL Source: .Net SqlClient Data Provider , Message: Conversion failed when                    converting datetime from character string.


      5/8/2014 1:11:16 PM RDLC Parameter 'from_timeframe' value(s): 2014 02 01 00 00 00

I need the above values to be:

   5/8/2014 1:24:02 PM RDLC Parameter 'from_timeframe' value(s): 2/1/2014 12:00:00 AM
   5/8/2014 1:24:02 PM RDLC Parameter 'to_timeframe' value(s): 5/31/2014 11:59:59 PM
Was it helpful?

Solution

It turned out all I had to do is go into the report parameter properties and change the data type to Date/Time... Thank you for all of your help.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top