This filter property is used to determine the search mode for loading the Rx items by the name.
object.RxNameSearchMode
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISRxFilter interface |
Display the number of the Rx items loaded on the basis of the selected filter, and their names.
Dim aFilter
Dim aRxCollection, aRx
Dim i
Dim aMessage
Set aFilter = Profile.CreateRxFilter
aFilter.RxName = "Pendine"
aFilter.RxNameSearchMode = 1 'rnsmStartsWith
aFilter.IncludeChemicals = True
aFilter.IncludeGroups = True
aFilter.IncludePackages = True
aFilter.IncludePreparations = True
set aRxCollection = Profile.LoadRxCollection(aFilter)
aMessage = "Rx Collection Count: " & aRxCollection.Count & vbNewLine
for i = 0 to aRxCollection.Count - 1
set aRx = aRxCollection.Item(i)
aMessage = aMessage & vbNewLine & (i + 1) & ") " & aRx.Name
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Rx items and their names can be found in
in or in .