Sunday, February 26, 2012

Error whilst concatenating field to a string

Hi,

I want to say on a report

"We are XX% Through the month" on a report. I added the data to the data set that I want to show and linked this to a table. I tried saying:

"We are" + Field!PercentageHoursWorked.Value + "% Through The Month" but I am getting the error:

"Input string was not in the correct format" The output that gives me this number is numeric.

Any ideas?

You have to use vb.net - code!

vb concatenates Strings using &

|||Yes, I know. I got there in the end by using convert in my SP

No comments:

Post a Comment