![]() | |
ConneXionUpdateChecksAsPrinted Method |
Namespace: ConneXion
public ConneXionResult UpdateChecksAsPrinted( CheckInfo CheckInfo, ref CheckInfo[] CheckInfos )
Dim oConneXion As New ConneXion.ConneXion Dim oResult As New ConneXion.ConneXionResult Dim oCheckInfo As New ConneXion.CheckInfo Dim oCheckInfos() As ConneXion.CheckInfo oCheckInfo.TAMUserName = "EXEC" oCheckInfo.TAMPassword = "PSWD" oCheckInfo.TAMCentralAgency = "DEMOAG1" oCheckInfo.LicenseKey = "1234567 1" oResult = oConneXion.FindAllUnprintedChecks(oCheckInfo, oCheckInfos) If oResult.Success = False Then txtCheckInfo.Text = "FindAllUnprintedChecks is false. " & oResult.Description & oResult.TAMDescription Else oCheckInfo.State = "IL" oResult = oConneXion.UpdateChecksAsPrinted(oCheckInfo, oCheckInfos) If oResult.Success = False Then txtCheckInfo.Text = "UpdateChecksAsPrinted is false. " & oResult.Description & oResult.TAMDescription Else txtCheckInfo.Text = "UpdateChecksAsPrinted is successful. " & oResult.Description & oResult.TAMDescription dgrdCheckInfo.DataSource = oCheckInfos End If End If