Crystal Reports for Eclipse Designer Guide

Concatenate operator (x +y)

Concatenate (x & y) and Concatenate (x + y) are synonymous if both operands x and y are Strings.
Usage
x + y
Concatenates (combines) string x to string y to make one contiguous string.
Examples
"Bread" + " and " + "butter"
Returns "Bread and butter".
"Your customer number is " + ({customer.CUSTOMER ID}) + " and your company contact person is " + ({customer.CONTACT FIRST NAME}) + "."
Returns "Your customer number is 64 and your company contact person is Bob." Where CustomerID="64" and First Name = "Bob".
Comments
  • You can use this operator only if all the elements you are connecting are strings.
  • If you want to include a value from a numeric field (for example, an account balance), you must first convert that value to a text string using the ToText function:
"Your account balance is " + ToText({file.BALANCE}) + "." 



SAP BusinessObjects
http://www.sap.com/sapbusinessobjects/
Support services
http://service.sap.com/bosap-support/
Product Documentation on the Web
http://help.sap.com/