Previous Document Next Document

Object Model Reference : Classes : D : DataFields : Methods : DataFields.AddEx2


DataFields.AddEx2

Function AddEx2(ParentName As String, ElementName As String, Name As String, [DataType As cdrDataType = cdrDataTypeString], [DefaultValue As String], [Constraint As String], [Target As String], [Format As String], [AppDefault As Boolean = False], [DocDefault As Boolean = False], [SummarizeGroup As Boolean = False], [FieldWidth As Long]) As DataField

Description

Member of DataFields

The AddEx2 method adds a data field along with an element name.

Parameter
Description
ParentName
Specifies the parent name of the data field
ElementName
Specifies the element name of the data field
Name
Specifies the name of the data field
DataType
Specifies the data-field type
This value is optional, and its default value is cdrDataTypeString (0).
DefaultValue
Specifies a default value
This value is optional.
Constraint
Specifies a constraint
This value is optional.
Target
Specifies a target
This value is optional.
Format
Specifies the format value of the data field
This value is optional.
AppDefault
Specifies the data field as a default field
This value is optional, and its default value is False.
DocDefault
Specifies the data field as a default field in the document
This value is optional, and its default value is False.
SummarizeGroup
Specifies whether to summarize the data field
This value is optional, and its default value is False.
FieldWidth
Specifies the field width
This value is optional, and its default value is 0.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.