Syntax - @WRAP(Text,NumCharacters1,NumCharacters2)
Text - Any text or alpha-numeric field.
NumCharacters - Any integer.
The @WRAP function is used for Word Wrapping. It is the same as the @Mid function except that the starting points and ending point (entered as number of characters to include) are automatically moved back to the first space character (if there is one).
Create a Variable
Create a second Variable
Add the variables to the Report or Label form.
On one line, use the variable DescriptionTop.
On a line below it, use the second variable DescriptionBottom.
If the Description was "Gift Basket with a Bottle of Wine", then the result is:
Gift Basket with a
Bottle of Wine
DescriptionTop - Prints the Left Side of the Description, starting with the 1st character through the 20th character, and moves back to the first space character found.
DescriptionBottom - Prints the Right Side of the Description, starting with the 20th character through the 40th character, and moves back to the first space character found.
Filters and Formula Functions - All
Edit Variable Screen
Variables in SubTotals and Grand Totals
Filters and Formula Operators
Filters - Transaction Types