In an expression, literal text is text that is enclosed in single or double quotation marks.
="Product name: " + Fields.ProductName
='Product name: ' + Fields.ProductName
Because quotation marks are special characters inside the literal text, you need to double the quotation mark to escape it. Other option is to use the other quotation marks as literal delimiters (then our quotation mark will not be a special symbol). The following table shows some examples of quotation mark combinations in an expression and their result:
|'It''s my birthday'||It's my birthday|
|"It""s my birthday"||It"s my birthday|
|'It"s my birthday'||It"s my birthday|
|"It's my birthday"||It's my birthday|
Some report item properties allow the usage of Embedded Expressions , which provide easy concatenation of string literals with expression terms.
They are resolved to:
Integerif decimal point is not used - for example
Decimalif decimal point is used - for example
= Fields.LineTotal < 100
Date values should be enclosed within pound signs
=Fields.Birthdate < #1/31/82#