SET_FIELD_DATA command

Content Manager OnDemand updates the search operator, the first entry value, and/or the second entry value for the specified search field in the active folder.

Command Parameters
SET_FIELD_DATA /F field name /O operator /1 value1 /2 value2
Parameters
F
Specifies the name of a search field in the active folder. This parameter is required.

A list of the field names can be retrieved by using the GET_QUERY_FIELDS command.

O
Specifies the search operator to be used for the field. It must be one of the following choices:
EQ
for Equal
NE
for Not Equal
LT
for Less Than
LE
for Less Than or Equal
GT
for Greater Than
GE
for Greater Than or Equal
BW
for Between
NB
for Not Between
IN
for In
NI
for Not In
LK
for Like
NL
for Not Like
The operator must be one of those permitted for the field.
This parameter is optional. If not specified, the operator remains unchanged.
1
Specifies the value to be used for the first, and perhaps only, entry window for the field. This parameter is optional. If not specified, the value remains unchanged.
2
Specifies the value to be used for the second entry window for the field. This value is ignored if the search operator for the field is other than Between or Not Between. This parameter is optional. If not specified, the value remains unchanged.
Action
Content Manager OnDemand updates the search operator, the first entry window, and/or the second entry window for the specified search field in the active folder.
Return Code
0
ARS_DDE_RC_NO_ERROR
2
ARS_DDE_RC_PARM_NOT_SPECIFIED
3
ARS_DDE_RC_INVALID_PARM_VALUE
8
ARS_DDE_RC_FOLDER_NOT_OPEN
11
ARS_DDE_RC_USER_ACTION_IN_PROGRESS
Return Data
None
Refer to the DoDdeCommand function.
 char parms[200];

 sprintf( parms,
          "/F %s /O %s /1 %s /2 %s",
          "Account",
          "BW",
          "123456",
          "987654" );

 DoDdeCommand( "SET_FIELD_DATA", parms, NULL );