Return Codes

DDE commands have return codes for various commands.

The following return codes are possible from DDE commands.
0
ARS_DDE_RC_NO_ERROR - Indicates that the command was executed without error.
1
ARS_DDE_RC_UNKNOWN_COMMAND - Indicates that the command was not a valid Content Manager OnDemand DDE command.
2
ARS_DDE_RC_PARM_NOT_SPECIFIED - Indicates that a required parameter was not specified.
3
ARS_DDE_RC_INVALID_PARM_VALUE - Indicates that a parameter specified an invalid value.
4
ARS_DDE_RC_SERVER_ERROR - Indicates that a server error occurred while accessing the database.
5
ARS_DDE_RC_FILE_ERROR - Indicates that an error occurred during an input/output operation.
6
ARS_DDE_RC_NOT_LOGGED_ON - Indicates that a user must be logged on for the command to be executed.
7
ARS_DDE_RC_MAX_FOLDERS_OPEN - Indicates that the maximum number of folders are already open.
8
ARS_DDE_RC_FOLDER_NOT_OPEN - Indicates that a folder must be open and active for the command to be executed.
9
ARS_DDE_RC_NO_DOC - Indicates that there is no database data associated with a document in the document list.
11
ARS_DDE_RC_USER_ACTION_IN_PROGRESS - Indicates that Content Manager OnDemand is busy performing a user-initiated action. A modal dialog box or message box is probably being displayed.
12
ARS_DDE_RC_UNAUTHORIZED_OPERATION - Indicates that the user currently logged on is not authorized to perform the requested operation.
13
ARS_DDE_RC_USER_CANCELLED_OPERATION - Indicates that the user cancelled an operation requested through DDE.
14
ARS_DDE_RC_NO_ACTIVE_DOC - Indicates that there is no currently active document.
15
ARS_DDE_RC_INVALID_APPL_GROUP_NAME - Indicates that the application group name provided is not valid for the folder.
16
ARS_DDE_RC_INVALID_APPL_NAME - Indicates that the application name provided is not valid for the application group.
17
ARS_DDE_RC_INVALID_INTEGER_FIELD - Indicates that the value provided for a folder field is not a valid integer.
18
ARS_DDE_RC_INVALID_DECIMAL_FIELD - Indicates that the value provided for a folder field is not a valid decimal.
19
ARS_DDE_RC_INVALID_DATE_FIELD - Indicates that the value provided for a folder field is not a valid date.
20
ARS_DDE_RC_INVALID_APPLGRP_FIELD_TYPE - Indicates that the field type within the application group is not valid.
21
ARS_DDE_RC_DOC_NOT_VIEWABLE_OR_PRINTABLE - Indicates that the specified document cannot be displayed or printed using the DDE interface.
22
ARS_DDE_RC_INCORRECT_CURRENT_PASSWORD - Indicates that the current password specified for the user is incorrect.
23
ARS_DDE_RC_PASSWORD_TOO_SHORT - Indicates that the new password specified is not long enough.
24
ARS_DDE_RC_NEW_PASSWORD_MISMATCH - Indicates that the two passwords specified for the new password do not match.
25
ARS_DDE_RC_INVALID_USER_PASS_SERVER - Indicates that the user ID, password, or server was not valid.
26
ARS_DDE_RC_PASSWORD_EXPIRED - Indicates that the password has expired.
27
ARS_DDE_RC_TOO_MANY_VALUE_CHARS - Indicates that too many characters were specified for the field value. The specified value was longer than the length of the field.