BatchSetFocus()
- Last UpdatedJun 13, 2017
- 1 minute read
This method creates a unit-centric view of the Batch Execution schedule. Only batches that are related to units in the passed list (through their train) are displayed in the BatchSched list. Passing an empty string ("") into the UnitList argument reverts the view back to batch-centric. By default the Batch Execution function is batch-centric. The return code is a Short integer value that can be used for error handling.
For more information on the error codes returned, see "Error Return Values".
Syntax
ReturnCode = OcxBatchVar.BatchSetFocus (UnitList)
Parameters
UnitList
Data Type: String
List of units, 16 characters each, separated by a forward slash (/) character