This function finds the encounter the form is linked to via the action links.
object.FindLinkedEncounterViaActionLinks()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfileForm interface |
Find the encounter the form is linked to via the action links and display some information about it.
Dim aForm
Dim aFormInfo
Dim aLinkedEncounter
Set aForm = Profile.Form
set aLinkedEncounter = aForm.FindLinkedEncounterViaActionLinks
aFormInfo =_
"Short Name: " & aForm.ShortName & vbNewLine &_
"TypeName: " & aForm.TypeName & vbNewLine
if aLinkedEncounter is nothing then
aFormInfo = aFormInfo & "No Linked Encounter"
else
aFormInfo = aFormInfo & "Form Linked Encounter: " & vbNewLine &_
" Encounter ID: " & aLinkedEncounter.ID & vbNewLine &_
" Encounter Date: " & aLinkedEncounter.Date
end if
Profile.MsgBox(aFormInfo)
In Profile Client v8 on User Interface CDO Forms can be found in
.