ClearList (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

Read-only. Used in conjunction with the AddValue method to remove all items from a drop-down list so the list can temporarily be replaced with a different list.

Applicable Events

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

Syntax

object.ClearList

Parameters

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

ClearList is the command.

Example

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

looup.ClearList

looup.AddValue("Name")

looup.AddValue("Address")

looup.AddValue("SSN")

Else

looup.ClearList

looup.AddValue("1")

looup.AddValue("2")

looup.AddValue("3")

End If