ClearErrors()

Top  Previous  Next

Object: EHL7.EHL7Processor

FileName: EHL7.dll

 

METHOD

 

Name: ClearErrors()

Parameters: None

Returns: N/A

Description: Clears the error state of the object.  See also IsError/LastError

 

Example:

Dim myProcessorObj As New EHL7.EHL7Processor

myProcessorObj.IniFileName = "C:\SomeBadFileName.ini"

If Not myProcessorObj.OpenProfile() Then

       MsgBox myProcessorObj.LastError

       myProcessorObj.ClearErrors

       'Would display 'Profile filename does not exist or is not visible at this time'

End If