I was trying to combine two separate date/time fields into one text box through an expression in SSRS.
My expression is:
=Format(Fields!EarlyShiftStart.Value,"hh:mm tt") & "-" & Format(Fields!LateShiftEnd.Value,"hh:mm tt")
And it looks to be correct in the report:
But I am getting a warning when I preview the report:
Warning 1 [rsRuntimeErrorInExpression] The Value expression for the textrun ‘Textbox49.Paragraphs[0].TextRuns[0]’ contains an error: Input string was not in a correct format
Not sure why this warning occurs, as it looks to be correct. Thoughts?