BatchSetAutomaticMode()
- Last UpdatedJun 12, 2017
- 1 minute read
This method changes the mode of the currently selected batch in the BatchSched list to Automatic. This method should only be called if the batch status is Ready, Run, or Held. 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.BatchSetAutomaticMode ( DoneBy, CheckBy, DoneByPswd, CheckByPswd)
Parameters
DoneBy
Data Type: String
Done by user ID
CheckBy
Data Type: String
Check by user ID
DoneByPswd
Data Type: String
Done by password
CheckByPswd
Data Type: String
Check by password