Crystal Reports for Rational Application Developer Designer Guide

Concatenate (x & y)

Concatenate (x & y) and Concatenate operator (x +y) are synonymous if both operands x and y are strings.
Examples
10 & 20
Returns the String "10.0000020.00000", where the number formatting for this formula field specifies 5 decimal places. Use CStr if you want to specify how to format a String when converting from a different type. In this example, you can use CStr on the Number values a and b to convert and format each of them to a String, and then concatenate the resultant Strings.
True & False
Returns the String "TrueFalse".
"The meeting is " & #Nov 15. 1999#
Returns the String "The meeting is 11/15/99 12:00:00 AM".
"Boy" & "Girl"
Returns the String "BoyGirl".



Business Objects, an SAP company
http://www.businessobjects.com/
Support services
http://www.businessobjects.com/services/support/
Product Documentation on the Web
http://support.businessobjects.com/documentation/