ISProfile.LoadShortCodeByCodeType

Description

This function returns short code by its code and category.

Syntax

object.LoadShortCodeByCodeType(aCode, aCategory)

Part Attribute Type Description
object Required
The object always implements the ISProfile interface
aCode In, Required
string
The code of the short code
aCategory In, Required
The category of the short code

Return Value

ISShortCode

Returns short code by its code and category.

Example

Display the short code and its description.

Dim aShortCodes
Dim aShortCode

Set aShortCode = Profile.LoadShortCodeByCodeType("FAM", 30)

aDescription = aShortCode.Description  

Profile.MsgBox("The description of the short code with the code " & aCode &_
  "'FAM' is " & aDescription) 
Note:

In Profile Client v8 on User Interface Short Codes can be found in Maintain > Short Codes.

Version information

Added in v7.8.0