SetDCOStatus

Assigns a value to the Status property of the current object of the Document Hierarchy.

Syntax

bool SetDCOStatus (StrParam)

Parameters

An Integer representing the new status.

Returns

Always True.

Level

All.

Details

Assigns a value to the Status property of the current object of the Document Hierarchy.
Example:
ChkDCOType(Invoice)
SetDCOStatus(1)

This sequence checks to see if the current object of the Document Hierarchy is a Page object - in this example, an Invoices page. If so, the value of the Page object's Status property is set to "1".