Syntax rules for writing property expressions

You must use the correct syntax when you write property expressions.

The following table describes some basic rules for typing property expressions:

Task Rule Example
Display a calculated value, such as a parameter or column name Use equals sign (=) for calculated expressions =cust_num
Display a literal value Type the literal exactly as you want it to appear in text Sales Organization
Display a text string in an expression If the string is part of a combined expression that also includes calculated values, columns or parameters, it must be surrounded by quotation marks (" ") ="My name is: "+fname
Concatenate two or more text strings Use the plus sign (+) to concatenate text strings =Click here to go to"+Dept+" department
Add two or more numeric values Use the plus sign (+) to add constants or parameters of numeric data =Param1+5
Insert a carriage return in an expression Type newline. If the expression elements are the same data type, use a plus sign (+) before and after. Otherwise, include newline in the Concat() function =city+newline+state
Display the value of another property Use the equals sign (=) plus the object name and the property name with dot notation =Label1.Text