ValuePRO Report Templates are highly customizable, and can be set up to show or hide sections of a report depending on the contents of the Data Entry Template.
You can use VPDel blocks to conditionally remove a section of a Report Template based upon the value of a field in the current valuation job.
Prerequisites
Master user access
Step 1
At the beginning of the section you would like conditionally deleted, insert the MergeField VPDelStart:Valuations.ActualFieldName_Condition_ConditionValue where:
ActualFieldName is the Actual Field Name of the field to evaluate the condition against
Condition is a condition found on the List of VPDel conditions
ConditionValue is the value to evaluate Valuations.ActualFieldName against
Step 2
At the end of the section you would like conditionally deleted, insert the same MergeField inserted in Step 1 but replacing VPDelStart with VPDelEnd. Everything between the Start and End tags will be deleted if the condition is met.
Tip:
Never put a VPDel code line in the same line as another VPDel line. This will make it not work as expected. They can however, work on the same line as other normal merge fields.
For Example:
See Heading 2 where there are 2 VPDel tags, one to end the previous one and one to start the next. Place the following VPDel on its own line by separating them with the enter key.
Removing Repeated Sections
Conditionally hiding a section of a report that uses repeated data, for example tables of Sales Evidence data, is done in a similar manner, however uses a different mergefield function.
[See article: Tables and Repeated Sections]
To remove sections of a repeat block, insert the merge field VPRptDelStart:Valuations.ActualFieldName_Condition_ConditionValue where:
ActualFieldName is the Actual Field Name of the field to evaluate the condition against
Condition is a condition found on the List of VPDel conditions
ConditionValue is the value to evaluate Valuations.ActualFieldName against
For example: