respAddUCS2Value()

This procedure adds UCS2 String value for existing field.

ParameterTypeDescription
ptrPOINTERMandatoryPointer to field
stringValue1024C VARYING, VARSIZEMandatoryUCS2 String value
escapeNOptional*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);