Can someone help me simple expression conversion?
if isnull({VW_RPT_INV_STANDARD_FORMAT.SERVICECODE}) then {VW_RPT_INV_STANDARD_FORMAT.MATERIALDESCRIPTION}
else
{VW_RPT_INV_STANDARD_FORMAT.MATERIALDESCRIPTION} + " SvcCd: " + {VW_RPT_INV_STANDARD_FORMAT.SERVICECODE}
FM
February 28th, 2011 2:38pm
=iif(isnothing(Fields!SERVICECODE.Value), Fields!MATERIALDESCRIPTION.Value, Fields!MATERIALDESCRIPTION.Value & " SvcCd: " & Fields!SERVICECODE.Value)
Free Windows Admin Tool Kit Click here and download it now
February 28th, 2011 2:51pm
Thanks that works... Can you help me out with this
= IIf ( IsNothing(Fields!AUTHNUMBER.Value)
OR (Fields!AUTHNUMBER.Value = 0),
"", CStr(Fields!AUTHNUMBER.Value) ) +
" "
+ IIf ( IsNothing(Fields!MATERIALCOLORBAND.Value),
"", CStr(Fields!MATERIALCOLORBAND.Value) ) +
" "
+ IIf ( IsNothing(Fields!MATERIALTYPE.Value),
"", CStr(Fields!MATERIALTYPE.Value) ) +
" "
When i run this expression i get an "#error" in my textboxFM
February 28th, 2011 2:56pm
try replacing the + operator with &:
= IIf ( IsNothing(Fields!AUTHNUMBER.Value) OR (Fields!AUTHNUMBER.Value = 0), "", CStr(Fields!AUTHNUMBER.Value) ) & " "
& IIf ( IsNothing(Fields!MATERIALCOLORBAND.Value),
"", CStr(Fields!MATERIALCOLORBAND.Value) ) & " "
& IIf ( IsNothing(Fields!MATERIALTYPE.Value),
"", CStr(Fields!MATERIALTYPE.Value) ) & " "
Free Windows Admin Tool Kit Click here and download it now
February 28th, 2011 3:07pm
How bout this one? The last one works
if isnull({VW_RPT_INV_STANDARD_FORMAT.SERVICECODE}) then
{@GroupPrint}
else
{@GroupPrint} + " SvcCd: " + {VW_RPT_INV_STANDARD_FORMAT.SERVICECODE}
FM
February 28th, 2011 3:28pm
Hi FM,
What is {@GroupPrint} ?
Can you tell us more clearly?
Or are you looking for something like this,
= IIf ( IsNothing(Fields!SERVICECODE.Value), "@GroupPrint", "@GroupPrint" & " SvcCd: " & Fields!SERVICECODE.Value )
Thanks
KumarKG, MCTS
Free Windows Admin Tool Kit Click here and download it now
February 28th, 2011 3:34pm
Hi FM,
Please complete the thread if your issue has been resolved, here is a ref link:-
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/09d76948-75f8-403d-af19-b1f1c26bd8ee/#0d447204-a646-47b9-a18a-b1570baf5a40
Thanks
KumarKG, MCTS
March 1st, 2011 1:08pm