Share via


Tables.Add Method

Project Developer Reference

Adds a Table object to Tables collection.

Syntax

expression.Add(Name, Field, Task)

expression   A variable that represents a Tables object.

Parameters

Name Required/Optional Data Type Description
Name Required String The name of the table.
Field Required Long The name of the field. Can be one of the PjField constants.
Task Optional Boolean True if the table being added is a task table. The default value is True.

Return Value
Table

See Also