This procedure adds String value for existing field.
Parameter | Type | Description | |
---|---|---|---|
ptr | POINTER | Mandatory | Pointer to field |
stringValue | 1024A VARYING, VARSIZE | Mandatory | String value |
escape | N | Optional | *ON or *OFF (Default = *ON) Indicates if value must be “escaped” means add ‘' escape character |
The procedure returns pointer of field. If procedure can’t add value, then returns null.
Examples:
xxPtr = respAddField('data': 'warehouse');
respAddStringValue(xxPtr: SRSROM);
respAddStringValue(xxPtr: SRSROM: *OFF);