ISInstructionTemplatesFilter.Title

Description

This filter property is used to load the instruction templates with the specified title.

Syntax

object.Title

Part Attribute Type Description
object Required
The object always implements the ISInstructionTemplatesFilter interface

Return Value

string

Example

Display the number of the instruction templates loaded on the basis of the selected filter and some information about them, including their titles.

Dim aFilter 
Dim aInstructionTemplates
Dim aInstructionTemplate
Dim aMessage 
Dim i
    
Set aFilter = Profile.CreateInstructionTemplatesFilter
aFilter.Title = "template"     
set aInstructionTemplates = Profile.LoadInstructionTemplates(aFilter)

aMessage = "Instruction Templates Count = " & aInstructionTemplates.Count
for i = 0 to aInstructionTemplates.Count - 1
  set aInstructionTemplate = aInstructionTemplates.Item(i) 
  aMessage = aMessage & vbNewLine &_
    (i + 1) & ")  " & aInstructionTemplate.Title
  if not aInstructionTemplate.Disease is nothing then
    aMessage = aMessage & vbNewLine & " - Disease: " & aInstructionTemplate.Disease.Name
  end if       
next         
                                                      
Profile.MsgBox(aMessage)                               
Note:

In Profile Client v8 on User Interface Title can be found in Maintain > Templates > Instructions > Title.

Version information

Added in v8.3.0