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