Init

A method that reads in the rule and segment definition files specified by the HL7Path and
HL7Version properties.

Syntax

object.Init

The Init method syntax has these parts:

Part Description
object An object expression that evaluates to the HL7 control.

Remarks

Init of an object is initiated at runtime. The Init should only be called once for the duration for
the application.

Example

Private Sub Form_Load()

If Len(App.Path) > 3 Then
   Hl7cntl1.HL7Path = App.Path & "\"
Else
   Hl7cntl1.HL7Path = App.Path
End If

Hl7cntl1.HL7Version = ".v22"          ‘msgRules.v22, segDefs.v22 files

Hl7cntl1.Init
.
..
...

 

Back to Home Page.

This page, and all contents, are Copyright © 1998 by Gary M. Gallagher.
Sparrow Technologies Incorporated - http://www.sparrow-technologies.com