New

The New method creates a new item in a table.

Applies To

All Table objects

Syntax

objEventsTable.New (ItemId)

Parameters

ItemId
Optional. Specifies a string containing the item identifier of the Item object to create.

Returns

Item

Remarks

If the item identifier is passed as a parameter, a new Item object is created with that item identifier. If the item identifier already exists, the Item object corresponding to that item identifer is returned. If ItemId is omitted, Schedule+ creates a new object and generates an item identifier for it.

The following sample code creates a new item in the Events table:

Dim ObjEvent As Object
objEvent = objEventsTable.New

See Also

Tables