CompleteAction

Top  Previous  Next

Object: EHL7.EHL7Processor

FileName: EHL7.dll

 

PROPERTY

 

Name: CompleteAction

DataType: Enumerator: EHL7ProcessFileActions (valid values: ehpArchiveFile or ehpDeleteFile)

Mode: Read/Write

Description: Return/Set the action the object should take after each message is read.  If set to ehpArchiveFile the HL7 message is written to the OutboundPath folder with the OutboundExtension file extension.

 

Example:

Dim x As New EHL7.EHL7Processor

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

If Not x.OpenProfile() Then

  Msgbox x.LastError

  Set x = Nothing

  Exit Sub

End If

x.CompleteAction = ehpDeleteFile 

Exit Sub

 

See Also: PollingInterval, OutboundPath, OutboundExtension