NewVendor()

Top  Previous  Next

Object: EHL7Interface.eUtilities

FileName: EHL7Interface.dll

 

Method

 

Name: NewVendor()

Parameters: None

Returns: String - The GUID (ID) of the new vendor if the user created one, or an empty string ("") if they cancel

Description: Invokes the 'New Vendor' dialog box.  The same as clicking the 'New Vendor' button in the vendors window.

 

Example:

Dim myInterfaceObj As New EHL7Interface.eUtilities

Dim strNewVendorID As String

If myInterfaceObj.SetUpComplete Then

       strNewVendorID = myInterfaceObj.NewVendor()

       MsgBox strNewVendorID

Else

       myInterfaceObj.ShowConfiguration()

       If Not myInterfaceObj.SetUpComplete Then

               Msgbox "Try again later"

               'Now get out and exit program

       End If

End If

 

Graphic:

 

clip0006