This function clears the string list.
object.Clear
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISIntStrings interface |
Display the string list before and after clearing.
sub main
Dim aHost
Dim aList
Dim aLayout
Set aHost = Profile.CreateCDOFormHost
aLayout = 0
set aList = aHost.GetAccessionPatientTemplateList(0, aLayout)
Profile.MsgBox("Loaded Patient prefs:" & vbNewLine & aList.Text)
aList.Clear
Profile.MsgBox("Cleared Patient prefs:" & vbNewLine & aList.Text)
end sub