May 25, 20169 yr Why am I getting a return character add to the end of value returned using this calc. This only happens when the shortList = 1 part. Let ( shortList = FilterValues ( "Shipped¶Not Shipped¶Not Fully Shipped" ; List ( LineItems::ShippedStatus ) ) ; Case ( ValueCount ( shortList ) = 1 ; shortList ; not IsEmpty ( FilterValues ( shortList ; "Shipped" ) ) ; "Not Fully Shipped" ) ) I went ahead and changed to move the return. But maybe their was a better way. ValueCount ( shortList ) = 1 ; Substitute ( shortList ; "¶" ; "" ) ;
May 25, 20169 yr Use GetValue. The result is a single line without a return at the end. The other values functions always have a return at the end. ValueCount ( shortList ) = 1 ; GetValue ( shortList ;1 ) ;
May 26, 20169 yr Author 13 hours ago, BruceR said: ValueCount ( shortList ) = 1 ; GetValue ( shortList ;1 ) ; This works great.. Thanks for the tip.
Create an account or sign in to comment