Concat Function
Posted: September 19th, 2017, 8:58 am
Dear Users,
Kindly study the following chink of codes:
i want to join the list of services as selected by the user from a checkbox in to a single field LIST_OF_SERVICES
but to my surprise it is returning an empty string even if selection were made.
please how can i get around this
Kindly study the following chink of codes:
Code: Select all
string choices = "ABCDZ";
numeric i;
do i = 1 while i<=5;
if pos(choices[i:1],strip($)) <> 0 then
LIST_OF_SERVICES = Concat(LIST_OF_SERVICES," ",getlabel($,choices[i:1]));
endif
enddo;
but to my surprise it is returning an empty string even if selection were made.
please how can i get around this