Thanks for the clarification. I’ve gotten so accustomed to dealing with Epicor “quirks” that it’s an habitual assumption
Not that MicroSoft doesn’t have their own brands of “quirks” - like with SSRS.
Right now, working on a request to modify a Report - just add two Fields to a customized address block. Should be an easy fix.
Not with SSRS.
Here’s what one Expression looked like before copying the Report over from Test into Live :
=
IIF
(
( Len( Split( First( Fields!Calc_ShipToAddressList.Value, "OrderHed" ), "~" )( 5 ).ToString( ) ) > 0 ),
IIF
(
( Split( First( Fields!Calc_ShipToAddressList.Value, "OrderHed" ), "~" )( 5 ).ToString( ) Like "United States*" ),
"",
( Split( First( Fields!Calc_ShipToAddressList.Value, "OrderHed" ), "~" )( 5 ).ToString( ) & CHR( 10 ) )
)
,
""
)
Here’s what that Expression looked like after copying the .Rdl into Live :
=Microsoft.VisualBasic.Interaction.IIF((Microsoft.VisualBasic.Strings.Len(Microsoft.VisualBasic.Strings.Split(First(Fields!Calc_ShipToAddressList.Value, "OrderHed"), "~")(5).ToString()) > 0), Microsoft.VisualBasic.Interaction.IIF((Microsoft.VisualBasic.Strings.Split(First(Fields!Calc_ShipToAddressList.Value, "OrderHed"), "~")(5).ToString() Like "United States*"), "", Microsoft.VisualBasic.Strings.Split(First(Fields!Calc_ShipToAddressList.Value, "OrderHed"), "~")(5).ToString() & Microsoft.VisualBasic.Strings.CHR(10)), "")
So I get to re-translate all six Expressions into readable form before starting the actual work of adding the two new Fields
Plus a tremendous dis-incentive to do development in the Test environment to avoid this hassle in the future.
Thank you, Micro$oft …
“MicroSoft is…highly illogical.” - Spock