Using Sum for multi-value fields

I have multi-value Name field and numberic field. Numberic fields calculates Name field and give total of people. Name field is separated by comma and numberic field has below formula.

FIELD People:=People;

@Command([EditDocument];“1”);

@SetField(“People”;@Sum(@TextToNumber(Whom)));

@PostedCommand([FileSave]);

@PostedCommand([FileCloseWindow])

I get @Error message.

Please advise

thanks

amp

Subject: Using Sum for multi-value fields

If you just want the number of names in the Name field, try using @Elements instead.

Hope the helps.

Subject: RE: Using Sum for multi-value fields

thanks it works fine nowamp