Adds a new QueryFieldDef object to this QueryFieldDefs collection.
Passing in a field path argument to this method, fills in the field path for the new object. If you do not specifiy a field path, then you must use the FieldPathName method of the QueryFieldDef Object to set the value.
For VBScript, you use the Ajouter method to add a new QueryFieldDef to the collection. If the Variant argument:
For Perl, there are two separate methods that accomplish the same functionality:
These methods add a new QueryFieldDef object to the end of the collection. You can retrieve items from the collection using the Item method.
VBScript
queryfielddefs.Add path
Perl
$queryfielddefs->AddByFieldPath(fieldPath);
$queryfielddefs->AddNew();