Tables.Add Method (Project)

Adds a Table object to a 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

Tables Collection Object