Hi
I'm new with progress and I searched on the web to find how to do what I want without success.
I would like to do a case with the statement begins.
For example
Case co-num
when begins "B" then
toto = "The valueB"
when begins "C" then
toto = "The valueC"
when begins "D" then
toto = "The valueD"
end case
I know the syntax is not okay because it gives me an error.
I don't know how to solve it.
Thanks in advance
I'm new with progress and I searched on the web to find how to do what I want without success.
I would like to do a case with the statement begins.
For example
Case co-num
when begins "B" then
toto = "The valueB"
when begins "C" then
toto = "The valueC"
when begins "D" then
toto = "The valueD"
end case
I know the syntax is not okay because it gives me an error.
I don't know how to solve it.
Thanks in advance