ISPostCode.Delete

Description

This function deletes the selected post code.

Syntax

object.Delete

Part Attribute Type Description
object Required
The object always implements the ISPostCode interface

Example

Delete the selected post code.

Dim aPostCode
Dim aMessage

set aPostCode = Profile.LookupPostCode("", "Anmore", "CAN", "BC")
if aPostCode is nothing then
  exit sub
end if

aMessage = "The post code " & aPostCode.PostalCode & " was deleted "
aPostCode.Delete

Profile.MsgBox (aMessage)
Note:

In Profile Client v8 on User Interface Post Code can be found and deleted in Maintain > Post Codes > Post Codes.

Version information

Added in v7.8.0