all groups > sql server reporting services > october 2006 >
You're in the

sql server reporting services

group:

[rsRuntimeErrorInExpression] The Value expression for the textbox


[rsRuntimeErrorInExpression] The Value expression for the textbox SandiB
10/13/2006 10:32:01 AM
sql server reporting services:
Hey All,

I am hoping that I will get a speedy response to this problem. I am working
in RS in SQL 2005. I have a report that has 6 parameters, 3 of these are
multivalue. They work fine, with the following exception:

I'm trying to set an expression in a text box on the report, to display back
to the users which parameters they selected prior to viewing the report.
This works fine for non-multivalue parameters. But, with the multivalue
parameters, I keep getting an error about the '&' not being valid. The
report builds fine, it only errors when I try to preview the report.

Here's the expression in my textbox:

="Report Parameters Entered:" & vbCrLf & "Retailer: " &
Parameters!Retailer.Value & vbCrLf & "Month/Year: " & Parameters!Month.Value
& "/" & Parameters!Year.Value & vbCrLf & "Store(s): " &
Parameters!StoreID.Value & vbCrLf & "Super Categories: " &
Parameters!SuperCategory.Value & vbCrLf & "Managed Indicator: " &
Parameters!Managed.Value

If I change the parameters in this to .IsMultiValue (for the ones that are
multivalue), the report runs fine. But, the actual values selected are not
returned. What shows up in the report is 'True' for each of the multivalue
parameters (because they are multivalue and I'm using the IsMultiValue?).

Anyway, if anyone knows of a work around for this, or if I am just way off
base....PLEASE let me know as soon as possible.

Thanks so much for your response!

Re: [rsRuntimeErrorInExpression] The Value expression for the textbox Kaisa M. Lindahl Lervik
10/16/2006 1:30:58 PM
Maybe this tip helps?
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=481987&SiteID=1

Kaisa M. Lindahl Lervik

[quoted text, click to view]

Re: [rsRuntimeErrorInExpression] The Value expression for the text SandiB
10/16/2006 1:34:02 PM
Thanks so much! This worked perfectly!

[quoted text, click to view]
AddThis Social Bookmark Button