PauseHours

Top  Previous  Next

Object: EHL7.EHL7Processor

FileName: EHL7.dll

 

PROPERTY

 

Name: PauseHours

DataType: String (valid values are "1" to "23")

Mode: Read/Write

Description: This property determines how long a processing profile should stop execution determined by the StopTime and ProcessingOptions properties.

 

 

 

Example:

Private WithEvents x As EHL7.EHL7Processor

''''

Set x = New EHL7.EHL7Processor

x.IniFileName = "C:\EasyHL7\Profile1.ini"

If Not x.OpenProfile() Then

  Msgbox x.LastError

  Set x = Nothing

  Exit Sub

End If

'Change the Processing options to enIntermittent

x.ProcessingOptions = enIntermittent

x.StopTime = "12:00 AM"

x.PauseHours = "2"

'For as long as it runs this profile will now stop at 12:00 AM for 2 hours

If Not x.ProcessProfile() Then

  Msgbox x.LastError

  Set x = Nothing

  Exit Sub

End If