Click or drag to resize

ConneXionFindLookup Method

Finds the lookup.

Namespace:  ConneXion
Assembly:  ConneXion (in ConneXion.dll) Version: 2020.0
Syntax
public ConneXionResult FindLookup(
	ref Lookup Lookup
)

Parameters

Lookup
Type: ConneXionLookup
Lookup data object to find

Return Value

Type: ConneXionResult
ConneXionResult.
Remarks

Required Fields

  • TAMUserName
  • TAMPassword
  • TAMCentralAgency - only if agency is on AppliedOnline
  • LicenseKey - only if agency is an Agency of Vendor
  • LookupType
  • Code
Examples
VB
Private Sub btnFindLookup_Click(sender As Object, e As EventArgs) Handles btnFindLookup.Click
  Dim oConneXionLookup As New ConneXion.ConneXion
  Dim oLookup As New ConneXion.Lookup
  Dim oResult As ConneXion.ConneXionResult
  oLookup.TAMUserName = "EXEC"
  oLookup.TAMPassword = "PSWD"
  oLookup.LicenseKey = "1234567  1"
  oLookup.TAMCentralAgency = "DEMOAG1"
  oLookup.LookupType = "Agency"
  oLookup.Code = 1
  oResult = oConneXionLookup.FindLookup(oLookup)
  If oResult.Success = True Then
    MessageBox.Show("FindLookup was successful")
  Else
    txtResult.Text = "Number: " & oResult.Number & vbCrLf & "Description: " & oResult.Description & vbCrLf & "TAMErrorNumber: " & oResult.TAMErrorNumber & vbCrLf & "TAMErroDesc: " & oResult.TAMDescription
  End If
End Sub
See Also