This procedure adds UCS2 String value for existing field.
Parameter | Type | Description | |
---|---|---|---|
ptr | POINTER | Mandatory | Pointer to field |
stringValue | 1024C VARYING, VARSIZE | Mandatory | UCS2 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': 'Address');
respAddUCS2Value(xxPtr: %UCS2(ADADDR));
respAddUCS2Value(xxPtr: %UCS2(ADADDR): *OFF);