ISCDOFormDesign.ID

Description

ID of the CDO form design.

Syntax

object.ID

Part Attribute Type Description
object Required
The object always implements the ISCDOFormDesign interface
Restriction: This property is readonly.

Return Value

int

Example

Display some information about the CDO form template, including ID of the CDO form design.

Dim aLoadListFormTemplates
Dim aTemplate
Dim aMessage
Dim i
Dim aDesign                                              

set aLoadListFormTemplates = Profile.CDOFormUtils.LoadListFormTemplates 'ISCDOFormTemplates 

aMessage = "List Form Templates Count = " & aLoadListFormTemplates.Count & vbNewLine 

for i = 0 to aLoadListFormTemplates.Count - 1
  set aTemplate = aLoadListFormTemplates.Item(i) 
  aMessage = aMessage & (i + 1) & ". " &_
    "Name: " & aTemplate.Name & vbNewLine &_
    "    ID: " & aTemplate.ID & vbNewLine &_
    "    HRC CID: " & aTemplate.HRC.TypeID & vbNewLine &_    
    "    DesignDataID: " & aTemplate.DesignDataID & vbNewLine    
  set aDesign = aTemplate.Design
  if not aDesign is nothing then
    aMessage = aMessage &_
    "    CDO Form Design ID: " & aDesign.ID & vbNewLine &_
    "    Design Form Kind: " & aDesign.FormKind & vbNewLine
  end if
next   

Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface CDO Form Design ID cannot be found.

Version information

Added in v7.8.0