Adds a new object to the specified collection.
RetVal = object.Add(Name, DataType [, Precision] [, Scale])
|
Object |
The object or objects this method applies to. |
|
Name |
String; input-only The name of the column to be added. |
|
Precision |
Integer; input-only; optional The meaning of Precision depends on the DataType specified, as follows: kCaoTypeNumeric: Precision of numeric data.kCaoTypeText: Length of data in symbols.kCaoTypeBlob: Length of data in bits.Precision is ignored for all other data types. |
|
Scale |
Integer; input-only; optional Numeric scale for kCaoTypeNumeric. Ignored for all other data types. |
|
RetVal |
The newly added object. |
RetVal = object.Add(FieldName, Value)
|
Object |
The object or objects this method applies to. |
|
FieldName |
String; input-only The name of the field to be added. |
|
Value |
Variant; input-only The value of the field being added. |
|
RetVal |
The newly added object. |
RetVal = object.Add(DataSource, Catalog, Schema, Table, Name, DisplayAttributes)
|
Object |
The object or objects this method applies to. |
|
DataSource |
String; input-only Data source name. |
|
Catalog |
String; input-only Catalog name. |
|
Schema |
String; input-only Schema name. |
|
Table |
String; input-only Table name. |
|
Name |
String; input-only Label template name. |
|
RetVal |
The newly added object. |
RetVal = object.Add(DataSource, Catalog, Schema, Table, Name, KeyDescriptions)
|
Object |
The object or objects this method applies to. |
|
DataSource |
String; input-only Data source name. |
|
Catalog |
String; input-only Catalog name. |
|
Schema |
String; input-only Schema name. |
|
Table |
String; input-only Table name. |
|
Name |
String; input-only Link template name. |
|
KeyDescriptions |
KeyDescriptions collection; input-only Key descriptions for the link template. |
|
RetVal |
The newly added object. |
RetVal = object.Add(DataSource, Catalog, Schema, Table, Name, SQLText)
|
Object |
The object or objects this method applies to. |
|
DataSource |
String; input-only Data source name. |
|
Catalog |
String; input-only Catalog name. |
|
Schema |
String; input-only Schema name. |
|
Table |
String; input-only Table name. |
|
Name |
String; input-only Link template name. |
|
SQLText |
String; input-only The SQL statement. |
|
RetVal |
The newly added object. |