Kbase 21824: Set-attribute-list: Adding an Attribute that Contains Commas
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/25/2002 |
|
SUMMARY:
To add an attribute (user-defined attributes) that contains commas using the function set-attribute-list, you need to first change the commas to another character.
This function applies to Progress version 8.
EXPLANATION:
Set-attribute-list is using the function Num-entries to retrieve the number of entries. Num-entries is using the comma as a delimiter by default.
SOLUTION:
To work around this, translate commas within your data to some other character before setting the attribute, and then translate the character back to a comma when you retrieve the attribute.