ProcessingOptions

Top  Previous  Next

Object: EHL7.EHL7Processor

FileName: EHL7.dll

 

PROPERTY

 

Name: ProcessingOptions

DataType: Enumerator: EHL7ProcessorOptions

Mode: Read/Write

Description: This property determines whether the processing profile should stop processing at a certain time of the day for a specified number of hours determined by the StopTime and  PauseHoursproperties.

 

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