
FormulaĬoncatenate( "Name: ", Products.Name, ", Type: ", Products.Type )įor each record in the Products table, concatenates the string "Name: ", the name of the product, the string ", Type: " and the type of the product.įor these examples, set the Text property of a label to a formula from the first column of the next table.

Same as the previous example, using the & operator instead of the function.įor this example, add a blank, vertical Gallery control, set its Items property to the formula in the next table, and then add a label in the gallery template. Same as the previous example except using the & operator instead of the function.Ĭoncatenates the value in FirstName, the string " " (a single space), and the value in LastName. FormulaĬoncatenates the value in LastName, the string ", " (a comma followed by a space), and the value in FirstName. Concatenate function and the & operatorįor these examples, set the Text property of a Label control to a formula from the first column of the next table. Select the button (by clicking it while you hold down the Alt key). To create these global variables in an app, insert a Button control, and set its OnSelect property to this formula: Set( FirstName, "Jane" ) Set( LastName, "Doe" ) The examples in this section use these global variables: Mix of individual strings or a single-column table of strings. A text value to be inserted between concatenated rows of the table. Formula to apply across the records of the table. Use the Split or MatchAll function to split a string into a table of substrings. For more information, see the examples below and working with record scope. The As operator can also be used to name the record being processed which can help make your formula easier to understand and make nested records accessible. Use the ThisRecord operator or simply reference fields by name as you would any other value.

Use this function to summarize the strings of a table, just as the Sum function does for numbers.įields of the record currently being processed are available within the formula. The Concat function concatenates the result of a formula applied across all the records of a table, resulting in a single string. When you use this function with individual strings, it's equivalent to using the & operator. The Concatenate function concatenates a mix of individual strings and a single-column table of strings. Concatenates individual strings of text and strings in tables.
