Consultor Eletrônico



Kbase 13441: How to have a comma within an item on a SELECTION LIST
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
How to have a comma within an item on a SELECTION LIST


Since the default delimiter for the selection list is a comma, how
do you create a selection list that contains list items which
themselves include commas?

For instance, suppose you wanted a list of names with last name first,
followed by the first name:

Kassel, Carl
Roberts, Cokie
Stamberg, Susan


To do this you must change the delimiter for the selection list. This
is done using the :DELIMITER attribute. One solution would be to use
a semi-colon instead of a comma:

SELECT-1:DELIMITER = ";".


Then, set the :LIST-ITEMS using the new delimiter:

SELECT-1:LIST-ITEMS = "Kassel, Carl;Roberts, Cokie;Stamberg, Susan".

Progress Software Technical Support Note # 13441