InitMessage

Creates an HL7 Message Object.

Syntax

[ nMsgId = Integer] = object.InitMessage

 

The InitMessage method syntax has these parts:

Value Description
object An object expression that evaluates to the HL7 control.
nMsgId a message id that is returned the points the an HL7 message structure.

Return

Value Description
nMsgId A message id that is returned that points the an HL7 message structure.

Remarks

InitMessage of an object is initiated at runtime by calling the InitMessage method.   The
InitMessage method allocates system resources for a HL7 message structure and returns
a message id.

Example

Private Sub CreateMessage()
Dim nMsgId

nMsgId = Hl7cntl1.InitMessage
.
..
Hl7cntl1.DeInitMessage nMsgId

 

Back to Home Page.

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