The Rx package description that is returned as string.
object.AsString
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISRxPackage interface |
string
Display the short information about the Rx packages loaded on the basis of the selected filter, including their string descriptions.
Dim aFilter
Dim aRxCollection
Dim aRxPackage
Dim i
Dim aMessage
Set aFilter = Profile.CreateRxFilter
aFilter.RxName = "Pendine"
aFilter.IncludePreparations = False
aFilter.IncludePackages = True
aFilter.IncludeGroups = False
aFilter.IncludeChemicals = False
aFilter.RxNameSearchMode = 1 'rnsmStartsWith
set aRxCollection = Profile.LoadRxCollection(aFilter)
aMessage = "Rx Packages Count = " & aRxCollection.Count &_
vbNewLine & vbNewLine & "# Name as String" & vbTab & vbTab &_
vbTab & "Code"
for i = 0 to aRxCollection.Count - 1
set aRxPackage = aRxCollection.Item(i)
aMessage = aMessage & vbNewLine & (i + 1) & ") " & aRxPackage.AsString &_
vbTab & aRxPackage.Code
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface String description can be found in
in or in .