GET_DISPLAY_FIELDS command
Content Manager OnDemand returns a list of the display fields for the active folder.
Command | Parameters |
---|---|
GET_DISPLAY_FIELDS | None |
- Parameters
- None
- Action
- None
- Return Code
-
- 0
ARS_DDE_RC_NO_ERROR
- 8
ARS_DDE_RC_FOLDER_NOT_OPEN
- 11
ARS_DDE_RC_USER_ACTION_IN_PROGRESS
- Return Data
- The list is a null-terminated character string with the tab character separating each field name.
Refer to the DoDdeCommand function.
char
data[1000], fields[10][100], * pToken;
int j;
if ( DoDdeCommand( "GET_DISPLAY_FIELDS", "", data ) )
{
for ( pToken = strtok( data, "\t" ), j = 0;
pToken != NULL & j < 10;
pToken = strtok( NULL, "\t" ), j++ )
{
strcpy( fields[j], pToken );
}
}