Should be an easy one (Keyword Fields)

This should be easy, but I guess I’ve been out of the Notes development realm for a while and I’m rusty.

A Keyword Dialog list has name 3 entries:

John Doe;Jane Doe;Joe Schmo

I want to return the 1st name in computed field 1, second in computed field 2 and third in computed field 3. Help!

Subject: Re:

You could do this:

_list := “John Doe” : “Jane Doe” : “Joe Schmo”;

FIELD ComputedField1 := _list[1];

FIELD ComputedField2 := _list[2];

FIELD ComputedField3 := _list[3];

or this:

_list := “John Doe” : “Jane Doe” : “Joe Schmo”;

_list := @Implode (_list;“~~”);

FIELD ComputedField1 := @Word (_list;“~~”;1);

FIELD ComputedField2 := @Word (_list;“~~”;2);

FIELD ComputedField3 := @Word (_list;“~~”;3);

Subject: Thank you!

Thank you, Sven. The latter suggestion worked!