ISProfile.ShortCode2Description

Description

This function returns the type and the code of the short code.

Syntax.

object.ShortCode2Description(pType, pCode)

Part Attribute Type Description
object Required
The object always implements the ISProfile interface
pType In, Required
The type of the short code
pCode In, Required
string
The code of the short code

Return Value

string

Returns the type and the code of the short code.

Example

Display the type and the code of the short code.

Dim pCode  
Dim pType
Dim aCodeDescription

pType = 39 'Sexual Orintation
pCode = "HETERO"
aCodeDescription = Profile.ShortCode2Description(pType, pCode)

Profile.MsgBox (pCode & " (" & aCodeDescription & ")")
Note:

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

Version information

Added in v7.8.0