This function returns all the patient's letters of the selected format.
object.GetLetters(aFormat)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatient interface |
|
aFormat |
In, Required | The format of the letter |
Display the number of letters of the selected format for the patient and list them.
Dim aPatient
Dim aLetters
Dim aLetter
Dim aMessage
Set aPatient = Profile.SelectPatient
set aLetters = aPatient.GetLetters(1) 'slcfRTF
aMessage = "Letters Count = " & aLetters.Count
for i = 0 to aLetters.Count - 1
set aLetter = aLetters.Item(i)
aMessage = aMessage & vbNewLine & aLetter.Date & ": " & aLetter.Subject2
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Letters can be found in
.aFormat
added in
v7.8.0