0

I return a model from the database containing userFName and userSName and wish to concatenate them in to a single name field in a report table. I've tried the following expressions and each time get #Error when the report is rendered.

=Fields!UserFName.Value & " " & Fields!UserSName.Value

=Fields!UserFName.Value + " " + Fields!UserSName.Value

I stepped through the code and my model is populated properly. I even trimmed the whitespace left over from char types thinking that may have something to do with it.

1 Answer 1

1

The problem was that my dataset had the field names in lowercase and I'd not refresh and reapplied them to the table.

Lesson learned: case sensitivity is important.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.