This Specification Macro Task will look for the text in the first column of a specified input Sheet.
If the Project has a Variable with the same name, it will take the Variable result and insert it in the second column for each one found.
It will then calculate the Sheet and also run a Macro called CreateReports if it exists.
It will then read the data from a two column multi row output sheet, and pass it into the Specification for driving into Constants or Controls.
|Title||Changes the Title (not the name) of the Task.|
|File Name||File Name of the Excel File Including Extension.|
|Show Excel||Workbook will be visible if set to TRUE.|
|Input Sheet Name||Sheet name of the inputs sheet.|
|Output Sheet Name||Sheet name of the outputs Sheet.|
|Constant Name||Constant into which the Input and Output count will be stored.|
When this Task is added the properties are static. To be able to build rules on a static properties see How To: Change A Static Property To A Dynamic Property.
|Property Name||Example Rule||Example Result||Meaning|
|Input Sheet Name|
|Output Sheet Name|
The Excel sheet used for the import is to have two columns:
The sheet needs headers in the first row, which need to be in the format:
The Excel sheet used for the export is to have two columns:
If a Constant is found with the same name (Not case sensitive) then the value from the second column will be passed into it.
If no Constant is found with that name, then DriveWorks will look for a Form Control with that name to pass the value to.
If no Form Control is found, then no action will be taken with that rows data.
If a Constant and Form Control exist with the same name the Constant will take priority.
The Sheet needs headers in the first row, which need to be in the format: