GetV – XpressDox
GetV gets the value of an XpressDox variable. Reference material: Please read through this article to understand the difference between data elements and variables. And this article for an overview of working with variables
Tutorial videos are available here.
Visit our User Forum for discussions and solutions
GetV gets the value of an XpressDox variable. Reference material: Please read through this article to understand the difference between data elements and variables. And this article for an overview of working with variables
Get the value of a variable or a default value Before you can Get a variable using the «GetV()» function, that variable needs to be Set using the «SetV()» or «SetVr()» function. However, there might
Add an amount to an XpressDox variable using the IncrementV function. Example 1: Supply the variable name only «IncrementV(‘Counter’)» This will add 1 to the value of the variable ‘Counter’. Example 2: Supply
Increment an amount to an XpressDox variable and remove the paragraph IncrementVr() is essentially the same as IncrementV, except that the paragraph containing the function will be removed after it has performed its increment.
Here are some examples to illustrate the concept which enables the results of calculations to be stored for further use in the template, and even for future templates.
XpressDox give the template author the ability to perform calculations and other operations on the values of data elements, and to store those values in variables for later use in the template. One example of this is the ability to calculate totals on repeated data elements.
With effect from Version 7, there are a number of shortcuts for referring to some of the variable-handling functions. They were introduced to take away the amount of typing necessary when many variables are being
Prefix values to variables in your XpressDox Document Automation template The AppendVr and PrependVr functions provide less cumbersome syntax for appending or prefixing values to variables than using SetVr to do this. Without the
SetV sets the value of an XpressDox variable. Reference material: Please read through this article to understand the difference between data elements and variables. And this article for an overview of working with variables
Suppose you have a document which you want to personalise as far as pronouns are concerned. In other words, instead of having “he/she” in many places, you want to have only “he” or “she” depending on the sex of the party concerned. Check how this is done using the ChooseUsingCheckbox
command.