This function finds the country item by its long country code.
object.FindItemByISOLong(aISOLong)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISCountryItems interface |
|
aISOLong |
In, Required | string |
The long country code |
Display the short name of the country item found by its long country code.
Dim aCountryItems
Dim aISOLong
Dim aCountryItem
Dim aMessage
set aCountryItems = Profile.LoadCountryList
aISOLong = "BLR"
set aCountryItem = aCountryItems.FindItemByISOLong(aISOLong)
aMessage = "The country with ISO Long '" & aISOLOng & "' is " &_
aCountryItem.ShortName
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface ISO Long cannot be found, but Country Items for the patient can be found in
.