AddValue (Method) - OCR for AnyDoc - Foundation 23.1 - Foundation 23.1 - AnyDoc - external

OCR for AnyDoc Programming Reference Guide

Platform
AnyDoc
Product
OCR for AnyDoc
Release
Foundation 23.1
License

Description

Adds an additional option to an existing drop-down list and is run during the Pre Verification and Interactive phases. This requires the Verification Parameters | Key From Image | Use drop-down list for input option to be selected.

Applicable Events

Pre-Verify, Interactive, Verification Function Key (F-Key) Post-Verify

Syntax

object.AddValue("value")

Parameters

Object is a reference to the Zone object. For more information, see Zone Object (page Zone Object).

AddValue is the command.

Value is the text option that should be added to the drop-down list.

Example

If PatientName.Value = "JOHN MEYER" Or PatientName.Value = "John Meyer" Then

lookup.ClearList

lookup.AddValue("Name")

lookup.AddValue("Address")

lookup.AddValue("SSN")

Else

lookup.ClearList

lookup.AddValue("1")

lookup.AddValue("2")

lookup.AddValue("3")

End If