SELECT_DOC command

Content Manager OnDemand selects (highlights) the Document List line that corresponds to the specific document number.

Command Parameters
SELECT_DOC /N doc number
Parameters
N
Specifies the zero-based relative document number within the document list of the active folder. The number of documents in the list can be determined by using the GET_NUM_DOCS_IN_LIST command. The values associated with a particular document number can be retrieved by using the GET_DOC_VALUES command.
This parameter is required.
The doc number can be specified as -1 to indicate that all documents are to be selected.
Action
Content Manager OnDemand selects (highlights) the Document List line that corresponds to the specific document number.
Return Code
0
ARS_DDE_RC_NO_ERROR
2
ARS_DDE_RC_PARM_NOT_SPECIFIED
3
ARS_DDE_RC_INVALID_PARM
8
ARS_DDE_RC_FOLDER_NOT_OPEN
11
ARS_DDE_RC_USER_ACTION_IN_PROGRESS
Return Data
None
Refer to the DoDdeCommand function.
 DoDdeCommand( "SELECT_DOC", "-1", NULL );