Content Manager OnDemand converts
the folder field value to an application group field and updates the
data from the specified value in the database.
Command |
Parameters |
UPDATE_DOC |
/N doc number /F field
name /V field value |
- Parameters
-
- N
- Specifies the zero-based relative document number within the document list of the active
folder. This parameter is required.
- The doc number can be specified as -1 to indicate that all selected documents are to be
updated.
- F
- Specifies the name of a folder field. This parameter is required.
- V
- Specifies the value to be stored in the specified folder field. This value will be
converted to data of the field type (that is, integer, date, and so on).
- Date fields must be provided in the format required for the field. For example,
specifying 02/03/23 is invalid when February 3, 2023 is required.
- If a slash (/) character is to be included in a value (for example, in a date), two
consecutive slashes must be specified.
- This parameter is required.
- Action
- Content Manager OnDemand converts the folder field value to an application
group field and updates the data from the specified value in the database.
- Return Code
-
- 0
- ARS_DDE_RC_NO_ERROR
- 3
- ARS_DDE_RC_INVALID_PARM_VALUE
- 4
- ARS_DDE_RC_SERVER_ERROR
- 8
- ARS_DDE_RC_FOLDER_NOT_OPEN
- 12
- ARS_DDE_RC_UNAUTHORIZED_OPERATION
- 20
- ARS_DDE_RC_INVALID_APPLGRP_FIELD_TYPE
- Return Data
- Content Manager OnDemand returns the number of documents that were
successfully updated. The returned null-terminated string can be converted to a long
integer.
Refer to the
DoDdeCommand function.
DoDdeCommand( "UPDATE_DOC", "/N 1 /F Balance /V 123.45", NULL );