ISProfile.CreateShortCode

Description

This function creates a new short code.

Syntax

object.CreateShortCode(aType)

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

Return Value

ISShortCode

Returns the created short code.

Example

Display the created short code and its ID.

Dim aShortCode

Set aShortCode = Profile.CreateShortCode(105)
aShortCode.Description = "Interests"
aShortCode.Save

Profile.MsgBox("The short code " & aShortCode.Description & " has ID = " &_
  aShortCode.ID)
Note:

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

Version information

Added in v7.8.0